Skip to content

Commit a4499db

Browse files
authored
[2.7] bpo-34748: link to :ref:partial-objects in functools.partial doc. (GH-9809)
(cherry picked from commit 83a0765) Co-authored-by: Andrei Petre [email protected]
1 parent 427b8c7 commit a4499db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/functools.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ The :mod:`functools` module defines the following functions:
7676

7777
.. function:: partial(func[,*args][, **keywords])
7878

79-
Return a new :class:`partial` object which when called will behave like *func*
80-
called with the positional arguments *args* and keyword arguments *keywords*. If
81-
more arguments are supplied to the call, they are appended to *args*. If
79+
Return a new :ref:`partial object<partial-objects>` which when called will behave
80+
like *func* called with the positional arguments *args* and keyword arguments *keywords*.
81+
If more arguments are supplied to the call, they are appended to *args*. If
8282
additional keyword arguments are supplied, they extend and override *keywords*.
8383
Roughly equivalent to::
8484

0 commit comments

Comments
 (0)