summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2018-10-23 14:43:08 +0800
committerGitHub <noreply@github.com>2018-10-23 14:43:08 +0800
commit56a4a3aa555b3abc756cf837eddac4c0bf545db7 (patch)
tree22803600dd34638848752ccc906211c8a7c21741 /Doc
parent427b8c7f7dcdbff21de78b10d9ad05c825480618 (diff)
downloadcpython-git-56a4a3aa555b3abc756cf837eddac4c0bf545db7.tar.gz
[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 p31andrei@gmail.com
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functools.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index f3e396b4a6..aee14d5c81 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -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::