home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_2829 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  2.3 KB  |  90 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. import sys
  5. NoneType = type(None)
  6. TypeType = type
  7. ObjectType = object
  8. IntType = int
  9. LongType = long
  10. FloatType = float
  11. BooleanType = bool
  12.  
  13. try:
  14.     ComplexType = complex
  15. except NameError:
  16.     pass
  17.  
  18. StringType = str
  19.  
  20. try:
  21.     UnicodeType = unicode
  22.     StringTypes = (StringType, UnicodeType)
  23. except NameError:
  24.     StringTypes = (StringType,)
  25.  
  26. BufferType = buffer
  27. TupleType = tuple
  28. ListType = list
  29. DictType = DictionaryType = dict
  30.  
  31. def _f():
  32.     pass
  33.  
  34. FunctionType = type(_f)
  35. LambdaType = type((lambda : pass))
  36.  
  37. try:
  38.     CodeType = type(_f.func_code)
  39. except RuntimeError:
  40.     pass
  41.  
  42.  
  43. def _g():
  44.     yield 1
  45.  
  46. GeneratorType = type(_g())
  47.  
  48. class _C:
  49.     
  50.     def _m(self):
  51.         pass
  52.  
  53.  
  54. ClassType = type(_C)
  55. UnboundMethodType = type(_C._m)
  56. _x = _C()
  57. InstanceType = type(_x)
  58. MethodType = type(_x._m)
  59. BuiltinFunctionType = type(len)
  60. BuiltinMethodType = type([].append)
  61. ModuleType = type(sys)
  62. FileType = file
  63. XRangeType = xrange
  64.  
  65. try:
  66.     raise TypeError
  67. except TypeError:
  68.     
  69.     try:
  70.         tb = sys.exc_info()[2]
  71.         TracebackType = type(tb)
  72.         FrameType = type(tb.tb_frame)
  73.     except AttributeError:
  74.         pass
  75.  
  76.     tb = None
  77.     del tb
  78.  
  79. SliceType = slice
  80. EllipsisType = type(Ellipsis)
  81. DictProxyType = type(TypeType.__dict__)
  82. NotImplementedType = type(NotImplemented)
  83. GetSetDescriptorType = type(FunctionType.func_code)
  84. MemberDescriptorType = type(FunctionType.func_globals)
  85. del sys
  86. del _f
  87. del _g
  88. del _C
  89. del _x
  90.