[issue4326] type of UserList instance returns class instead of instance

Raymond Hettinger report at bugs.python.org
Sat Nov 15 00:23:01 CET 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

>>> import inspect
>>> from UserList import UserList
>>> lu = UserList()
>>> inspect.isclass(UserList)
True
>>> inspect.isclass(lu)
False

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4326>
_______________________________________


More information about the Python-bugs-list mailing list