[2.7] bpo-34748: link to :ref:partial-objects in functools.partial … · python/cpython@56a4a3a (original) (raw)

Original file line number Diff line number Diff line change
@@ -76,9 +76,9 @@ The :mod:`functools` module defines the following functions:
76 76
77 77 .. function:: partial(func[,*args][, **keywords])
78 78
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` 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
82 82 additional keyword arguments are supplied, they extend and override *keywords*.
83 83 Roughly equivalent to::
84 84