TypeError: 'int' object is not callable for max(2,3)

Arash Arfaee erexsha at gmail.com
Wed Jul 25 17:57:44 EDT 2007


Hi all,
I have a problem. if I enter max(2,3) before I run my program in command
line it returns 3. However if I start to debug my program, I have this
error:

[Dbg]>>> max(2,3)
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
TypeError: 'int' object is not callable

Any idea what should be the reason?


Cheers,
Arash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070725/458eda25/attachment.html>


More information about the Python-list mailing list