]> granicus.if.org Git - python/commitdiff
Mention that the tuple returned by __reduce__ is pickled as normal.
authorGeorg Brandl <georg@python.org>
Sat, 5 Apr 2008 17:45:58 +0000 (17:45 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 5 Apr 2008 17:45:58 +0000 (17:45 +0000)
Doc/library/pickle.rst

index 918fb8e786773a2e7725fe5fa82dc0985119aa6a..28ccf927e32fe4167c42d9b2e9fde1e3f60be69e 100644 (file)
@@ -480,8 +480,9 @@ local name relative to its module; the pickle module searches the module
 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,