⬅︎ Back to callable Python objects
Is that not what you expect?
Python 3.3 shell log: >>> def Foo(): return Foo >>> f = Foo() >>> f >>> callable(Foo) True >>> callable(Foo()) True >>> callable(f) True
Comment
Is that not what you expect?
Parent comment
Python 3.3 shell log: >>> def Foo(): return Foo >>> f = Foo() >>> f
>>> callable(Foo)
True
>>> callable(Foo())
True
>>> callable(f)
True