Skip to content

Commit 8ddb66f

Browse files
committed
Reword a reference to partial object in functools
Rather than referring to a `` :func:`!partial` object``, use a reference to the definition of a "partial object", provided as a part of the functools docs. This results in two linked references from `functools.partial` docs to `partial object`, as there is another one at the top of the docstring. However, the doc is sufficiently long that this second link is likely to be beneficial to a reader.
1 parent afd10f0 commit 8ddb66f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/functools.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,9 @@ The :mod:`!functools` module defines the following functions:
386386
only one positional argument is provided, but there are two placeholders
387387
that must be filled in.
388388

389-
If :func:`!partial` is applied to an existing :func:`!partial` object,
390-
:data:`!Placeholder` sentinels of the input object are filled in with
391-
new positional arguments.
389+
If :func:`!partial` is applied to an existing
390+
:ref:`partial object<partial-objects>`, :data:`!Placeholder` sentinels of the
391+
input object are filled in with new positional arguments.
392392
A placeholder can be retained by inserting a new
393393
:data:`!Placeholder` sentinel to the place held by a previous :data:`!Placeholder`:
394394

0 commit comments

Comments
 (0)