diff options
author | Georg Brandl <georg@python.org> | 2007-04-11 19:24:50 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-04-11 19:24:50 (GMT) |
commit | 57b39e0916d741d9851ac875d8f443bfc6005def (patch) | |
tree | 582159ea9ac83512264eb4ecb442f4bf19e7712f /Lib/idlelib/rpc.py | |
parent | b5ddcfd2a203336f3ba7bb1111cda462333c9e1f (diff) | |
download | cpython-57b39e0916d741d9851ac875d8f443bfc6005def.zip cpython-57b39e0916d741d9851ac875d8f443bfc6005def.tar.gz cpython-57b39e0916d741d9851ac875d8f443bfc6005def.tar.bz2 |
Bug #1697782: remove all remaining code that uses types.InstanceType.
Diffstat (limited to 'Lib/idlelib/rpc.py')
-rw-r--r-- | Lib/idlelib/rpc.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py index 169bceb..57a975a 100644 --- a/Lib/idlelib/rpc.py +++ b/Lib/idlelib/rpc.py @@ -574,8 +574,6 @@ def _getmethods(obj, methods): attr = getattr(obj, name) if callable(attr): methods[name] = 1 - if type(obj) == types.InstanceType: - _getmethods(obj.__class__, methods) if type(obj) == types.ClassType: for super in obj.__bases__: _getmethods(super, methods) |