]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix "versionchanged" for pow named arguments (GH-19042) (GH-19079)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 Mar 2020 18:35:02 +0000 (11:35 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Mar 2020 18:35:02 +0000 (18:35 +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
(cherry picked from commit c691f209523e20797c7b696c3f171b37429f5b3f)

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
Doc/library/functions.rst

index 6feb26c4f25a650891d91e7a6d40c48b7483f0fb..0f7df0e5e9107fde7f737b8c87cca8e62a85f5e9 100644 (file)
@@ -1304,7 +1304,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.