⬅︎ Back to callable Python objects
Python 3.3 shell log:>>> def Foo(): return Foo>>> f = Foo()>>> f<function Foo at 0x01F45930>>>> callable(Foo)True>>> callable(Foo())True>>> callable(f)True
Is that not what you expect?
Comment
Python 3.3 shell log:
>>> def Foo():
return Foo
>>> f = Foo()
>>> f
<function Foo at 0x01F45930>
>>> callable(Foo)
True
>>> callable(Foo())
True
>>> callable(f)
True
Replies
Is that not what you expect?