Say I have a function in Python:
def foo(x): pass
According to Python, only "foo" is a function reference, right?
>>> def foo(x): pass
...
>>> foo
<function foo at 0xb7f3d1b4>
Is there any way to check the function reference to determine the number of expected arguments?
source
share