Removed more types from the types module

This commit is contained in:
Christian Heimes 2007-11-29 16:21:13 +00:00
parent 043c8f866d
commit 0db38532b3
3 changed files with 3 additions and 9 deletions

View file

@ -20,7 +20,6 @@ GeneratorType = type(_g())
class _C:
def _m(self): pass
ClassType = type
MethodType = type(_C()._m)
BuiltinFunctionType = type(len)
@ -36,8 +35,6 @@ except TypeError:
FrameType = type(tb.tb_frame)
tb = None; del tb
DictProxyType = type(type.__dict__)
# Extension types defined in a C helper module. XXX There may be no
# equivalent in implementations other than CPython, so it seems better to
# leave them undefined then to set them to e.g. None.