David Anderson wrote: > Hello all, I have a Class1 that there has a list, and a function that > returns this list, In another class I got an instance of this first > class, and when I make: > > obj1 = Class1() > list = obj1.getList() > > I got this exception: > > traceback (most recent call last): > File "xxx", line 184, in onAddErro > list = self.errorMgr.getList() > TypeError: 'list' object is not callable > > How can I solve it? This error implies that getList is a list, *not* a function which returns a list.
If that's not enough explanation for you, you'll have to provide some code for us to look at. Gary Herron -- http://mail.python.org/mailman/listinfo/python-list