MCPcopy Index your code
hub / github.com/python/cpython / add

Function add

Lib/test/test_docxmlrpc.py:45–51  ·  view source on GitHub ↗

Add two instances together. This follows PEP008, but has nothing to do with RFC1952. Case should matter: pEp008 and rFC1952. Things that start with http and ftp should be auto-linked, too: http://google.com.

(x, y)

Source from the content-addressed store, hash-verified

43 serv.register_instance(TestClass())
44
45 def add(x, y):
46 """Add two instances together. This follows PEP008, but has nothing
47 to do with RFC1952. Case should matter: pEp008 and rFC1952. Things
48 that start with http and ftp should be auto-linked, too:
49 http://google.com.
50 """
51 return x + y
52
53 def annotation(x: int):
54 """ Use function annotations. """

Callers 5

get_parserMethod · 0.70
test_password_managerMethod · 0.70
test_misc_addMethod · 0.50
test_addMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected