From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 19 Mar 2020 18:35:02 +0000 (-0700) Subject: Fix "versionchanged" for pow named arguments (GH-19042) (GH-19079) X-Git-Tag: v3.8.3rc1~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2477aed12d409c78a16ec435e01cee235af53221;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 6feb26c4f25a..0f7df0e5e910 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.