From 56a4a3aa555b3abc756cf837eddac4c0bf545db7 Mon Sep 17 00:00:00 2001 From: Xiang Zhang Date: Tue, 23 Oct 2018 14:43:08 +0800 Subject: [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 --- Doc/library/functools.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index f3e396b..aee14d5 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` 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:: -- cgit v0.12