TypeError: 'NoneType' object is not callable

Jeff Epler jepler at unpythonic.net
Tue Mar 16 20:22:44 CET 2004


On Tue, Mar 16, 2004 at 09:52:42AM -0800, Atul Kshirsagar wrote:
> Adding extra information,
> This was working fine with Python 2.2.2.
> 
> Now desperate :) to get some help !
> Atul

Nope, None is not callable in 2.2.2 either:

Python 2.2.2 (#1, Feb 24 2003, 19:13:11) 
>>> None()
TypeError: 'NoneType' object is not callable

What in the world do you think None should do when called?

Jeff




More information about the Python-list mailing list