MCPcopy Create free account
hub / github.com/ipython/ipython / simple_add

Function simple_add

IPython/core/tests/test_oinspect.py:270–272  ·  view source on GitHub ↗

Adds two numbers

(a, b)

Source from the content-addressed store, hash-verified

268 # A simple adder whose source and signature stays
269 # the same across Python distributions
270 def simple_add(a, b):
271 "Adds two numbers"
272 return a + b
273
274 class A(object):
275 @property

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected