]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-65022: Fix description of tuple return value in copyreg (#103892)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Tue, 2 May 2023 18:13:47 +0000 (11:13 -0700)
committerGitHub <noreply@github.com>
Tue, 2 May 2023 18:13:47 +0000 (11:13 -0700)
Doc/library/copyreg.rst

index 2107215c0c19674efb3189ed259559b6ee648de1..afc3e66f0bf7ac51eaef5b61a20f3159cb99c9b1 100644 (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