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

Arash Arfaee erexsha at gmail.com
Wed Jul 25 23:57:44 CEST 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

[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?

-------------- 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