summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-03-27 09:15:17 (GMT)
committerGitHub <noreply@github.com>2019-03-27 09:15:17 (GMT)
commitbc284f0c7a9a7a9a4bf12c680823023a6770ce06 (patch)
treee9d88d2fb3a878db07e606244d893d386d77ae97 /Doc
parentda0847048aa7f934573fa449cea8643def056aa5 (diff)
downloadcpython-bc284f0c7a9a7a9a4bf12c680823023a6770ce06.zip
cpython-bc284f0c7a9a7a9a4bf12c680823023a6770ce06.tar.gz
cpython-bc284f0c7a9a7a9a4bf12c680823023a6770ce06.tar.bz2
bpo-32380: add "versionadded: 3.8" to singledispatchmethod (GH-12580)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functools.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index cd59e5b..16a779f 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -474,6 +474,9 @@ The :mod:`functools` module defines the following functions:
The same pattern can be used for other similar decorators: ``staticmethod``,
``abstractmethod``, and others.
+ .. versionadded:: 3.8
+
+
.. function:: update_wrapper(wrapper, wrapped, assigned=WRAPPER_ASSIGNMENTS, updated=WRAPPER_UPDATES)
Update a *wrapper* function to look like the *wrapped* function. The optional