diff options
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index a74b97b..9fca8c2 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1433,8 +1433,6 @@ def describe(thing): return 'function ' + thing.__name__ if inspect.ismethod(thing): return 'method ' + thing.__name__ - if type(thing) is types.InstanceType: - return 'instance of ' + thing.__class__.__name__ return type(thing).__name__ def locate(path, forceload=0): |