mirror of https://github.com/python/cpython
bpo-32380: add "versionadded: 3.8" to singledispatchmethod (GH-12580)
This commit is contained in:
parent
da0847048a
commit
bc284f0c7a
|
@ -474,6 +474,9 @@ The :mod:`functools` module defines the following functions:
|
||||||
The same pattern can be used for other similar decorators: ``staticmethod``,
|
The same pattern can be used for other similar decorators: ``staticmethod``,
|
||||||
``abstractmethod``, and others.
|
``abstractmethod``, and others.
|
||||||
|
|
||||||
|
.. versionadded:: 3.8
|
||||||
|
|
||||||
|
|
||||||
.. function:: update_wrapper(wrapper, wrapped, assigned=WRAPPER_ASSIGNMENTS, updated=WRAPPER_UPDATES)
|
.. function:: update_wrapper(wrapper, wrapped, assigned=WRAPPER_ASSIGNMENTS, updated=WRAPPER_UPDATES)
|
||||||
|
|
||||||
Update a *wrapper* function to look like the *wrapped* function. The optional
|
Update a *wrapper* function to look like the *wrapped* function. The optional
|
||||||
|
|
Loading…
Reference in New Issue