From 65810fee5e961af07fb964252b794c67162f98ee Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 26 May 2006 19:12:38 +0000 Subject: SF patch 1495675: Remove types.InstanceType and new.instance (Collin Winter) --- Lib/dis.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'Lib/dis.py') 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'): -- cgit v1.2.1