[Python-checkins] Fix "versionchanged" for pow named arguments (GH-19042)

Mark Dickinson webhook-mailer at python.org
Thu Mar 19 14:13:06 EDT 2020


https://github.com/python/cpython/commit/c691f209523e20797c7b696c3f171b37429f5b3f
commit: c691f209523e20797c7b696c3f171b37429f5b3f
branch: master
author: Mark Dickinson <mdickinson at enthought.com>
committer: GitHub <noreply at github.com>
date: 2020年03月19日T18:12:59Z
summary:
Fix "versionchanged" for pow named arguments (GH-19042)
The ability to use named arguments in "pow" was introduced in Python 3.8, not Python 3.9. See https://bugs.python.org/issue38237
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 3474216d7acb0..90a2370c1793b 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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.
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /