PyDocs

Data Persistence

copyreg

Helper to provide extensibility for pickle.

This is only useful to add pickle support for extension types defined in
C, not for instances of user-defined classes.
Symbols in copyreg

c

constructor
Declares object to be a valid constructor.

p

pickle
Declares that function should be used as a “reduction” function for objects of type type.