Skip to content

Commit 0d2101d

Browse files
miss-islingtonramvikramsmerwok
authored
[3.14] gh-100305: Deemphasize that ast.literal_eval is safe in eval documentation (GH-100326) (#148420)
(cherry picked from commit b3b0cef) Co-authored-by: Ram Vikram Singh <ramvikrams243@gmail.com> Co-authored-by: Éric <merwok@netwok.org>
1 parent 0968f33 commit 0d2101d

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
@@ -635,7 +635,7 @@ are always available. They are listed here in alphabetical order.
635635
If the given source is a string, then leading and trailing spaces and tabs
636636
are stripped.
637637

638-
See :func:`ast.literal_eval` for a function that can safely evaluate strings
638+
See :func:`ast.literal_eval` for a function to evaluate strings
639639
with expressions containing only literals.
640640

641641
.. audit-event:: exec code_object eval

0 commit comments

Comments
 (0)