"Visco Shaun" <visc...@gmail.com> wrote in message 
news:mailman.966.1243852864.8015.python-l...@python.org...
> 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):

You've probably assigned to type somewhere in your code. What does
print repr(type) give? 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to