We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e76305 commit f9231a0Copy full SHA for f9231a0
Doc/library/copyreg.rst
@@ -28,8 +28,8 @@ Such constructors may be factory functions or class instances.
28
.. function:: pickle(type, function, constructor_ob=None)
29
30
Declares that *function* should be used as a "reduction" function for objects
31
- of type *type*. *function* should return either a string or a tuple
32
- containing two or three elements. See the :attr:`~pickle.Pickler.dispatch_table`
+ of type *type*. *function* must return either a string or a tuple
+ containing between two and six elements. See the :attr:`~pickle.Pickler.dispatch_table`
33
for more details on the interface of *function*.
34
35
The *constructor_ob* parameter is a legacy feature and is now ignored, but if
0 commit comments