Skip to content

Commit 2477aed

Browse files
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 c691f20) Co-authored-by: Mark Dickinson <[email protected]>
1 parent ec8a973 commit 2477aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ are always available. They are listed here in alphabetical order.
13041304
the second argument to be negative, permitting computation of modular
13051305
inverses.
13061306

1307-
.. versionchanged:: 3.9
1307+
.. versionchanged:: 3.8
13081308
Allow keyword arguments. Formerly, only positional arguments were
13091309
supported.
13101310

0 commit comments

Comments
 (0)