]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix "versionchanged" for pow named arguments (GH-19042)
authorMark Dickinson <mdickinson@enthought.com>
Thu, 19 Mar 2020 18:12:59 +0000 (18:12 +0000)
committerGitHub <noreply@github.com>
Thu, 19 Mar 2020 18:12:59 +0000 (18:12 +0000)
The ability to use named arguments in "pow" was introduced in Python 3.8, not Python 3.9. See https://bugs.python.org/issue38237

Doc/library/functions.rst

index 3474216d7acb0435106589fc205a0ffadf5928ed..90a2370c1793bb0635bccbe6b0f4184813c6a2dd 100644 (file)
@@ -1311,7 +1311,7 @@ are always available.  They are listed here in alphabetical order.
       the second argument to be negative, permitting computation of modular
       inverses.
 
-   .. versionchanged:: 3.9
+   .. versionchanged:: 3.8
       Allow keyword arguments.  Formerly, only positional arguments were
       supported.