home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- __docformat__ = 'restructuredtext en'
- import new
- import types
- import copy_reg
-
- def code_ctor(*args):
- return new.code(*args)
-
-
- def reduce_code(co):
- if co.co_freevars or co.co_cellvars:
- raise ValueError('Sorry, cannot pickle code objects with closures')
- co.co_cellvars
- return (code_ctor, (co.co_argcount, co.co_nlocals, co.co_stacksize, co.co_flags, co.co_code, co.co_consts, co.co_names, co.co_varnames, co.co_filename, co.co_name, co.co_firstlineno, co.co_lnotab))
-
- copy_reg.pickle(types.CodeType, reduce_code)
-