Skip to content

Commit b3b0cef

Browse files
ramvikramsmerwok
andauthored
gh-100305: Deemphasize that ast.literal_eval is safe in eval documentation (#100326)
Co-authored-by: Éric <merwok@netwok.org>
1 parent 22290ed commit b3b0cef

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

647-
See :func:`ast.literal_eval` for a function that can safely evaluate strings
647+
See :func:`ast.literal_eval` for a function to evaluate strings
648648
with expressions containing only literals.
649649

650650
.. audit-event:: exec code_object eval

0 commit comments

Comments
 (0)