ok
Direktori : /lib64/python2.7/ |
Current File : //lib64/python2.7/copy_reg.pyo |
� zfc @ s� d Z d d l m Z d d d d d g Z i Z d d � Z d � Z y e Wn e k ra n Xd � Z e e e e � d � Z d Z d � Z d � Z d � Z i Z i Z i Z d � Z d � Z d � Z 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. i����( t ClassTypet picklet constructort add_extensiont remove_extensiont clear_extension_cachec C sf t | � t k r! t d � � n t | d � s? t d � � n | t | <| d k rb t | � n d S( Ns- copy_reg is not intended for use with classest __call__s$ reduction functions must be callable( t typet _ClassTypet TypeErrort hasattrt dispatch_tablet NoneR ( t ob_typet pickle_functiont constructor_ob( ( s /usr/lib64/python2.7/copy_reg.pyR s c C s"