Mention that the tuple returned by __reduce__ is pickled as normal.

This commit is contained in:
Georg Brandl 2008-04-05 17:45:58 +00:00
parent 217057f098
commit 3b1202dfe8
1 changed files with 3 additions and 2 deletions

View File

@ -481,7 +481,8 @@ 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:
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,