summaryrefslogtreecommitdiff
path: root/Lib/dis.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-05-26 19:12:38 +0000
committerGuido van Rossum <guido@python.org>2006-05-26 19:12:38 +0000
commit65810fee5e961af07fb964252b794c67162f98ee (patch)
tree7400532588af74faa31a12c31492839ab2e06c9a /Lib/dis.py
parent2018831b2b2106499a43b37e49e24f7f14154d35 (diff)
downloadcpython-git-65810fee5e961af07fb964252b794c67162f98ee.tar.gz
SF patch 1495675: Remove types.InstanceType and new.instance
(Collin Winter)
Diffstat (limited to 'Lib/dis.py')
-rw-r--r--Lib/dis.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/dis.py b/Lib/dis.py
index 5a74b3ae89..89caf2006f 100644
--- a/Lib/dis.py
+++ b/Lib/dis.py
@@ -18,8 +18,6 @@ def dis(x=None):
if x is None:
distb()
return
- if type(x) is types.InstanceType:
- x = x.__class__
if hasattr(x, 'im_func'):
x = x.im_func
if hasattr(x, 'func_code'):