summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgpb <3577712+dg-pb@users.noreply.github.com>2025-01-09 19:32:00 (GMT)
committerGitHub <noreply@github.com>2025-01-09 19:32:00 (GMT)
commit8af57810946c216b3e18c94c8f0ee3c0c96566a9 (patch)
treee17dfb47579116c4cce574d02225dafaa1f30c1f
parent7dc41ad6a7826ffc675f088972de96624917696e (diff)
downloadcpython-8af57810946c216b3e18c94c8f0ee3c0c96566a9.zip
cpython-8af57810946c216b3e18c94c8f0ee3c0c96566a9.tar.gz
cpython-8af57810946c216b3e18c94c8f0ee3c0c96566a9.tar.bz2
gh-128650: Fix incorrect statement in partial documentation (gh-128651)
-rw-r--r--Doc/library/functools.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 69d9d81..8ad5f48 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -368,8 +368,8 @@ The :mod:`functools` module defines the following functions:
If :data:`Placeholder` sentinels are present in *args*, they will be filled first
when :func:`!partial` is called. This makes it possible to pre-fill any positional
- argument with a call to :func:`!partial`; without :data:`!Placeholder`, only the
- first positional argument can be pre-filled.
+ argument with a call to :func:`!partial`; without :data:`!Placeholder`,
+ only the chosen number of leading positional arguments can be pre-filled.
If any :data:`!Placeholder` sentinels are present, all must be filled at call time: