]> granicus.if.org Git - python/commitdiff
bpo-32380: add "versionadded: 3.8" to singledispatchmethod (GH-12580)
authorInada Naoki <songofacandy@gmail.com>
Wed, 27 Mar 2019 09:15:17 +0000 (18:15 +0900)
committerGitHub <noreply@github.com>
Wed, 27 Mar 2019 09:15:17 +0000 (18:15 +0900)
Doc/library/functools.rst

index cd59e5bebfd565ac034f1d300cdd3a144db1194e..16a779fa836858007ff7cff08346ade8f6da90af 100644 (file)
@@ -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