[Python-checkins] r62173 - python/trunk/Doc/library/pickle.rst
georg.brandl
python-checkins at python.org
Sat Apr 5 19:45:59 CEST 2008
Author: georg.brandl
Date: Sat Apr 5 19:45:58 2008
New Revision: 62173
Modified:
python/trunk/Doc/library/pickle.rst
Log:
Mention that the tuple returned by __reduce__ is pickled as normal.
Modified: python/trunk/Doc/library/pickle.rst
==============================================================================
--- python/trunk/Doc/library/pickle.rst (original)
+++ python/trunk/Doc/library/pickle.rst Sat Apr 5 19:45:58 2008
@@ -480,8 +480,9 @@
namespace to determine the object's module.
When a tuple is returned, it must be between two and five elements long.
-Optional elements can either be omitted, or ``None`` can be provided as their
-value. The semantics of each element are:
+Optional elements can either be omitted, or ``None`` can be provided as their
+value. The contents of this tuple are pickled as normal and used to
+reconstruct the object at unpickling time. The semantics of each element are:
* A callable object that will be called to create the initial version of the
object. The next element of the tuple will provide arguments for this callable,
More information about the Python-checkins
mailing list