diff options
author | Georg Brandl <georg@python.org> | 2008-04-05 17:45:58 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-04-05 17:45:58 (GMT) |
commit | 3b1202dfe8c94cc5bb8e0ac0d964a2d8d3270d28 (patch) | |
tree | 81d8af741dc4a2a4f810cca2d350d60d6664288e | |
parent | 217057f098b428ab03d236ee2d7e40c0abbc867c (diff) | |
download | cpython-3b1202dfe8c94cc5bb8e0ac0d964a2d8d3270d28.zip cpython-3b1202dfe8c94cc5bb8e0ac0d964a2d8d3270d28.tar.gz cpython-3b1202dfe8c94cc5bb8e0ac0d964a2d8d3270d28.tar.bz2 |
Mention that the tuple returned by __reduce__ is pickled as normal.
-rw-r--r-- | Doc/library/pickle.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst index 918fb8e..28ccf92 100644 --- a/Doc/library/pickle.rst +++ b/Doc/library/pickle.rst @@ -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, |