'int' object is not callable

Erik Max Francis max at alcyone.com
Tue Jul 22 22:06:35 EDT 2003


JW wrote:

> If i remove line 1, then my foo() method does print out correct value
> for aTuple[0].
> 
> Why am I getting this error when i try using python len() built-in
> function?

Probably because somewhere along the line someone's replacement the
`len' builtin with a variable containing an int object.

-- 
   Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ Many things are lost for want of asking.
\__/  (an English proverb)




More information about the Python-list mailing list