[Python-checkins] Fix "versionchanged" for pow named arguments (GH-19042) (GH-19079)
Miss Islington (bot)
webhook-mailer at python.org
Thu Mar 19 14:35:09 EDT 2020
https://github.com/python/cpython/commit/2477aed12d409c78a16ec435e01cee235af53221
commit: 2477aed12d409c78a16ec435e01cee235af53221
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-03-19T18:35:02Z
summary:
Fix "versionchanged" for pow named arguments (GH-19042) (GH-19079)
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 at enthought.com>
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 6feb26c4f25a6..0f7df0e5e9107 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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.
More information about the Python-checkins
mailing list