"TypeError: 'int' object is not callable"

Visco Shaun visco31 at gmail.com
Mon Jun 1 12:40:50 CEST 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
visco




More information about the Python-list mailing list