[Tutor] Error: 'IndexedVar' object is not callable

Alex Kleider akleider at sonic.net
Fri Sep 9 20:48:03 EDT 2016


On 2016-09-09 11:50, Pooja Bhalode wrote:
> Hi everyone,
> 
> I was getting this error which read ' 'IndexedVar' object is not 
> callable '
> for a variable type.

You haven't provided much information but it seems to me you are calling 
IndexedVar as though it were a function but it probably isn't a 
function.

some_name(zero_or_more_parameters)

is a function call, calling some_name.

If some_name hasn't been defined as a function:
def some_name(....):
   do something

then you can expect the error you got.


More information about the Tutor mailing list