[Python-checkins] bpo-32380: add "versionadded: 3.8" to singledispatchmethod (GH-12580)

Inada Naoki webhook-mailer at python.org
Wed Mar 27 05:15:22 EDT 2019


https://github.com/python/cpython/commit/bc284f0c7a9a7a9a4bf12c680823023a6770ce06
commit: bc284f0c7a9a7a9a4bf12c680823023a6770ce06
branch: master
author: Inada Naoki <songofacandy at gmail.com>
committer: GitHub <noreply at github.com>
date: 2019-03-27T18:15:17+09:00
summary:

bpo-32380: add "versionadded: 3.8" to singledispatchmethod (GH-12580)

files:
M Doc/library/functools.rst

diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index cd59e5bebfd5..16a779fa8368 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



More information about the Python-checkins mailing list