Skip to content

Commit c11d789

Browse files
miss-islingtonncoghlanambv
authored
[3.13] GH-105879: Note exec/eval keyword change in What's New (GH-121831) (#121852)
GH-105879: Note exec/eval keyword change in What's New (GH-121831) (cherry picked from commit d7a099d) Co-authored-by: Alyssa Coghlan <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
1 parent 7c9861f commit c11d789

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/whatsnew/3.13.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,10 @@ free-threaded build.
422422
Other Language Changes
423423
======================
424424

425+
* The :func:`exec` and :func:`eval` built-ins now accept their ``globals``
426+
and ``locals`` namespace arguments as keywords.
427+
(Contibuted by Raphael Gaschignard in :gh:`105879`)
428+
425429
* Allow the *count* argument of :meth:`str.replace` to be a keyword.
426430
(Contributed by Hugo van Kemenade in :gh:`106487`.)
427431

0 commit comments

Comments
 (0)