From 3b1202dfe8c94cc5bb8e0ac0d964a2d8d3270d28 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 5 Apr 2008 17:45:58 +0000 Subject: [PATCH] Mention that the tuple returned by __reduce__ is pickled as normal. --- Doc/library/pickle.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst index 918fb8e786..28ccf927e3 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, -- 2.40.0