summaryrefslogtreecommitdiff
path: root/Lib/types.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-25 09:39:14 +0000
committerChristian Heimes <christian@cheimes.de>2007-11-25 09:39:14 +0000
commit4a22b5dee77b6a3439e4a09362586c390bbdef02 (patch)
tree670472c02e788fe4d027f7967fbbd8253e18cb5f /Lib/types.py
parent91c77301bf0246deabcdcd80bc7bedb169e2f964 (diff)
downloadcpython-git-4a22b5dee77b6a3439e4a09362586c390bbdef02.tar.gz
Patch from Georg Brandl and me for #1493
Remove unbound method objects
Diffstat (limited to 'Lib/types.py')
-rw-r--r--Lib/types.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/types.py b/Lib/types.py
index 5c1f2497d1..402fa1865e 100644
--- a/Lib/types.py
+++ b/Lib/types.py
@@ -38,7 +38,6 @@ GeneratorType = type(_g())
class _C:
def _m(self): pass
ClassType = type
-UnboundMethodType = type(_C._m) # Same as MethodType
MethodType = type(_C()._m)
BuiltinFunctionType = type(len)