Ζ
Σή?:c       sW   d  Z  d k l Z h  Z h  Z e d  Z d   Z d   Z	 e e
 d  e	 e  d S(   s¬   Helper to provide extensibility for pickle/cPickle.

This is only useful to add pickle support for extension types defined in
C, not for instances of user-defined classes.
(   s	   ClassTypec    sj   t  |   t j o t d   n t |  o t d   n | t |  <| t j	 o t	 |  n d  S(   Ns-   copy_reg is not intended for use with classess$   reduction functions must be callable(
   s   types   ob_types
   _ClassTypes	   TypeErrors   callables   pickle_functions   dispatch_tables   constructor_obs   Nones   constructor(   s   ob_types   pickle_functions   constructor_obs7   /home/guest/edwardam/cmp2/py2/lib/python2.0/copy_reg.pys   pickle s    
c    s,   t  |   o t d   n d t |  <d  S(   Ns   constructors must be callablei   (   s   callables   objects	   TypeErrors   safe_constructors(   s   objects7   /home/guest/edwardam/cmp2/py2/lib/python2.0/copy_reg.pys   constructor s    c    s   t  |  i |  i f f Sd  S(   N(   s   complexs   cs   reals   imag(   s   cs7   /home/guest/edwardam/cmp2/py2/lib/python2.0/copy_reg.pys   pickle_complex s    x0.01.0N(   s   __doc__s   typess	   ClassTypes
   _ClassTypes   dispatch_tables   safe_constructorss   Nones   pickles   constructors   pickle_complexs   types   complex(    s7   /home/guest/edwardam/cmp2/py2/lib/python2.0/copy_reg.pys   ? s   		