@@ -167,10 +167,11 @@ The :mod:`functools` module defines the following functions:
167167
168168.. function :: partial(func, *args, **keywords)
169169
170- Return a new :class: `partial ` object which when called will behave like *func *
171- called with the positional arguments *args * and keyword arguments *keywords *. If
172- more arguments are supplied to the call, they are appended to *args *. If
173- additional keyword arguments are supplied, they extend and override *keywords *.
170+ Return a new :ref: `partial object<partial-objects> ` which when called
171+ will behave like *func * called with the positional arguments *args *
172+ and keyword arguments *keywords *. If more arguments are supplied to the
173+ call, they are appended to *args *. If additional keyword arguments are
174+ supplied, they extend and override *keywords *.
174175 Roughly equivalent to::
175176
176177 def partial(func, *args, **keywords):
@@ -209,7 +210,7 @@ The :mod:`functools` module defines the following functions:
209210 :func: `classmethod `, :func: `staticmethod `, :func: `abstractmethod ` or
210211 another instance of :class: `partialmethod `), calls to ``__get__ `` are
211212 delegated to the underlying descriptor, and an appropriate
212- :class : `partial ` object returned as the result.
213+ :ref : `partial object<partial-objects> ` returned as the result.
213214
214215 When *func * is a non-descriptor callable, an appropriate bound method is
215216 created dynamically. This behaves like a normal Python function when
0 commit comments