https://github.com/python/cpython/commit/8af57810946c216b3e18c94c8f0ee3c0c96566a9
commit: 8af57810946c216b3e18c94c8f0ee3c0c96566a9
branch: main
author: dgpb <[email protected]>
committer: rhettinger <[email protected]>
date: 2025-01-09T13:32:00-06:00
summary:
gh-128650: Fix incorrect statement in partial documentation (gh-128651)
files:
M Doc/library/functools.rst
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 69d9d81c848124..8ad5f48c9e5286 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:
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]