On Nov 9, 2007 10:09 AM, Kent Johnson <[EMAIL PROTECTED]> wrote:
> > So in the script I write:
> > print type([object]
> >
> > This bombs, and I get
> > "TypeError: 'str' object is not callable'
> >
> Probably you have a variable named 'type' in your script that is hiding
> the builtin 'type' object.

Just so.  I renamed that variable and the script ran fine.

Thank you, and thanks to everyone who looked at this.
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to