Problems wit List Object

David Anderson zerty.david at gmail.com
Thu Mar 27 23:19:49 CET 2008


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080327/13ec241d/attachment.html>


More information about the Python-list mailing list