Re: [Tutor] callable objects

2010-02-02 Thread Alan Gauld
"sudhir prasad" wrote i run module1 ,first it calls sm1 in module 2 and a list gets updated,now i again pass the same list to sm2 in module2 but im getting an error " 'list' object is not callable" That suggests that somewhere in your code you are trying to call the list. ie putting parent

[Tutor] callable objects

2010-02-02 Thread sudhir prasad
hi, in my porgram i have two modules say module 1 and module 2,module 2 consists of two sub modules say sm1 and sm2, i run module1 ,first it calls sm1 in module 2 and a list gets updated,now i again pass the same list to sm2 in module2 but im getting an error " 'list' object is not callable" so i w