summaryrefslogtreecommitdiff
path: root/Lib/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/types.py')
-rw-r--r--Lib/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/types.py b/Lib/types.py
index 1c396fa2c1..4c49ba3939 100644
--- a/Lib/types.py
+++ b/Lib/types.py
@@ -39,7 +39,7 @@ GeneratorType = type(_g())
class _C:
def _m(self): pass
-ClassType = type(_C)
+ClassType = type
UnboundMethodType = type(_C._m) # Same as MethodType
MethodType = type(_C()._m)