1 """Define names for all type symbols known in the standard interpreter.
3 Types that are part of optional modules (e.g. array) are not listed.
9 TypeType
= type(NoneType
)
15 ComplexType
= type(complex(0,1))
20 BufferType
= type(buffer(''))
24 DictType
= DictionaryType
= type({})
27 FunctionType
= type(_f
)
28 LambdaType
= type(lambda: None) # Same as FunctionType
30 CodeType
= type(_f
.func_code
)
37 UnboundMethodType
= type(_C
._m
) # Same as MethodType
39 InstanceType
= type(_x
)
40 MethodType
= type(_x
._m
)
42 BuiltinFunctionType
= type(len)
43 BuiltinMethodType
= type([].append
) # Same as BuiltinFunctionType
45 ModuleType
= type(sys
)
48 FileType
= type(sys
.__stdin
__)
51 XRangeType
= type(xrange(0))
57 tb
= sys
.exc_info()[2]
58 TracebackType
= type(tb
)
59 FrameType
= type(tb
.tb_frame
)
64 SliceType
= type(slice(0))
65 EllipsisType
= type(Ellipsis)
67 del sys
, _f
, _C
, _x
# Not for export