gh-65022: Fix description of tuple return value in copyreg (#103892)

This commit is contained in:
Shantanu 2023-05-02 11:13:47 -07:00 committed by GitHub
parent 8611e7bf5c
commit 587f2f0180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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