"TypeError: 'int' object is not callable"

Visco Shaun visco31 at gmail.com
Mon Jun 1 06:40:50 EDT 2009

when I was executing the below code I got "TypeError: 'int' object is
not callable" exception. Why is it so?

if type(c) == type(ERROR):

c can be a string or an integer representing an error
Thanks & Regards

More information about the Python-list mailing list