mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
gh-65022: Fix description of tuple return value in copyreg (#103892)
This commit is contained in:
parent
8611e7bf5c
commit
587f2f0180
@ -29,7 +29,7 @@ Such constructors may be factory functions or class instances.
|
||||
|
||||
Declares that *function* should be used as a "reduction" function for objects
|
||||
of type *type*. *function* must return either a string or a tuple
|
||||
containing two or five elements. See the :attr:`~pickle.Pickler.dispatch_table`
|
||||
containing between two and six elements. See the :attr:`~pickle.Pickler.dispatch_table`
|
||||
for more details on the interface of *function*.
|
||||
|
||||
The *constructor_ob* parameter is a legacy feature and is now ignored, but if
|
||||
|
Loading…
Reference in New Issue
Block a user