diff options
author | Guido van Rossum <guido@python.org> | 2006-05-26 19:12:38 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-05-26 19:12:38 (GMT) |
commit | 65810fee5e961af07fb964252b794c67162f98ee (patch) | |
tree | 7400532588af74faa31a12c31492839ab2e06c9a /Lib/dis.py | |
parent | 2018831b2b2106499a43b37e49e24f7f14154d35 (diff) | |
download | cpython-65810fee5e961af07fb964252b794c67162f98ee.zip cpython-65810fee5e961af07fb964252b794c67162f98ee.tar.gz cpython-65810fee5e961af07fb964252b794c67162f98ee.tar.bz2 |
SF patch 1495675: Remove types.InstanceType and new.instance
(Collin Winter)
Diffstat (limited to 'Lib/dis.py')
-rw-r--r-- | Lib/dis.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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'): |