diff options
author | Georg Brandl <georg@python.org> | 2008-05-20 07:49:57 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-20 07:49:57 (GMT) |
commit | dffbf5f5421cbeb20237280c0bd70f989269f844 (patch) | |
tree | 51a520dcf10d589bd145d9117b010dab6bc28e3b /Doc/library/pickle.rst | |
parent | 06d2a2cb0e105019e8bd5e29a3c81c6874e6396a (diff) | |
download | cpython-dffbf5f5421cbeb20237280c0bd70f989269f844.zip cpython-dffbf5f5421cbeb20237280c0bd70f989269f844.tar.gz cpython-dffbf5f5421cbeb20237280c0bd70f989269f844.tar.bz2 |
Revert copy_reg -> copyreg rename.
Diffstat (limited to 'Doc/library/pickle.rst')
-rw-r--r-- | Doc/library/pickle.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst index eefa4d3..f197261 100644 --- a/Doc/library/pickle.rst +++ b/Doc/library/pickle.rst @@ -535,7 +535,7 @@ not :meth:`__reduce_ex__`, the :meth:`__reduce_ex__` implementation detects this and calls :meth:`__reduce__`. An alternative to implementing a :meth:`__reduce__` method on the object to be -pickled, is to register the callable with the :mod:`copyreg` module. This +pickled, is to register the callable with the :mod:`copy_reg` module. This module provides a way for programs to register "reduction functions" and constructors for user-defined types. Reduction functions have the same semantics and interface as the :meth:`__reduce__` method described above, except @@ -786,7 +786,7 @@ the same process or a new process. :: .. seealso:: - Module :mod:`copyreg` + Module :mod:`copy_reg` Pickle interface constructor registration for extension types. Module :mod:`shelve` |