From: Inada Naoki Date: Wed, 27 Mar 2019 09:15:17 +0000 (+0900) Subject: bpo-32380: add "versionadded: 3.8" to singledispatchmethod (GH-12580) X-Git-Tag: v3.8.0a4~325 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc284f0c7a9a7a9a4bf12c680823023a6770ce06;p=python bpo-32380: add "versionadded: 3.8" to singledispatchmethod (GH-12580) --- diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index cd59e5bebf..16a779fa83 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