]> granicus.if.org Git - python/commit
SF bug #668906: class browser raises AttributeError
authorRaymond Hettinger <python@rcn.com>
Sun, 19 Jan 2003 02:37:41 +0000 (02:37 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 19 Jan 2003 02:37:41 +0000 (02:37 +0000)
commit6550051691d604c728ed56e4acf90dc6535981f9
tree948348b7ed57639271bcefc07c8a54d0703d29c8
parent7b8e281997c7f34d5af86856fc66e7e1c4c7b6d7
SF bug #668906: class browser raises AttributeError

The Py2.3 updates to the pyclbr module return both Class and Function
objects.  The IDLE ClassBrowser module only knew about Class and could
not handle objects which did not define "super".

Fixed by adding a guard.
Lib/idlelib/ClassBrowser.py