summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>2023-05-02 18:13:47 (GMT)
committerGitHub <noreply@github.com>2023-05-02 18:13:47 (GMT)
commit587f2f018051049cf5d9de3e12ed5aa7644404dc (patch)
tree6b8481a25d2f2340bc71164b15f00285c01bfbd7 /Doc
parent8611e7bf5ceace998fefcbf26ab1c5d5bc8a0e2a (diff)
downloadcpython-587f2f018051049cf5d9de3e12ed5aa7644404dc.zip
cpython-587f2f018051049cf5d9de3e12ed5aa7644404dc.tar.gz
cpython-587f2f018051049cf5d9de3e12ed5aa7644404dc.tar.bz2
gh-65022: Fix description of tuple return value in copyreg (#103892)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/copyreg.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/copyreg.rst b/Doc/library/copyreg.rst
index 2107215..afc3e66 100644
--- a/Doc/library/copyreg.rst
+++ b/Doc/library/copyreg.rst
@@ -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