Re: 'int' object is not callable

Discussion in 'Python' started by Erik Max Francis, Jul 23, 2003.

  1. 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 && && 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)
     
    Erik Max Francis, Jul 23, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Schnoffos
    Replies:
    2
    Views:
    1,227
    Martien Verbruggen
    Jun 27, 2003
  2. Hal Styli
    Replies:
    14
    Views:
    1,657
    Old Wolf
    Jan 20, 2004
  3. Replies:
    2
    Views:
    598
  4. exiquio
    Replies:
    2
    Views:
    548
    exiquio
    Oct 7, 2008
  5. Ulrich Eckhardt
    Replies:
    6
    Views:
    115
    Peter Otten
    Jul 12, 2013
Loading...

Share This Page