home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog Special Freeware 31
/
FreelogHS31.iso
/
ArgentCompta
/
Bankperfect
/
bp.exe
/
types.pyc
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2005-04-23
|
3KB
|
92 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.3)
'''Define names for all type symbols known in the standard interpreter.
Types that are part of optional modules (e.g. array) are not listed.
'''
import sys
NoneType = type(None)
TypeType = type
ObjectType = object
IntType = int
LongType = long
FloatType = float
BooleanType = bool
try:
ComplexType = complex
except NameError:
pass
StringType = str
try:
UnicodeType = unicode
StringTypes = (StringType, UnicodeType)
except NameError:
StringTypes = (StringType,)
BufferType = buffer
TupleType = tuple
ListType = list
DictType = DictionaryType = dict
def _f():
pass
FunctionType = type(_f)
LambdaType = type((lambda : None))
try:
CodeType = type(_f.func_code)
except RuntimeError:
pass
def g():
yield 1
GeneratorType = type(g())
del g
class _C:
def _m(self):
pass
ClassType = type(_C)
UnboundMethodType = type(_C._m)
_x = _C()
InstanceType = type(_x)
MethodType = type(_x._m)
BuiltinFunctionType = type(len)
BuiltinMethodType = type([].append)
ModuleType = type(sys)
FileType = file
XRangeType = xrange
try:
raise TypeError
except TypeError:
try:
tb = sys.exc_info()[2]
TracebackType = type(tb)
FrameType = type(tb.tb_frame)
except AttributeError:
pass
tb = None
del tb
SliceType = slice
EllipsisType = type(Ellipsis)
DictProxyType = type(TypeType.__dict__)
NotImplementedType = type(NotImplemented)
del sys
del _f
del _C
del _x