Commit 56a4a3aa authored by Xiang Zhang's avatar Xiang Zhang Committed by GitHub

[2.7] bpo-34748: link to :ref:`partial-objects` in functools.partial doc. (GH-9809)

(cherry picked from commit 83a07652)

Co-authored-by: Andrei Petre p31andrei@gmail.com
parent 427b8c7f
......@@ -76,9 +76,9 @@ The :mod:`functools` module defines the following functions:
.. function:: partial(func[,*args][, **keywords])
Return a new :class:`partial` object which when called will behave like *func*
called with the positional arguments *args* and keyword arguments *keywords*. If
more arguments are supplied to the call, they are appended to *args*. If
Return a new :ref:`partial object<partial-objects>` which when called will behave
like *func* called with the positional arguments *args* and keyword arguments *keywords*.
If more arguments are supplied to the call, they are appended to *args*. If
additional keyword arguments are supplied, they extend and override *keywords*.
Roughly equivalent to::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment