[3.13] gh-100305: Deemphasize that ast.literal_eval is safe in eval documentation (GH-100326) (#148421)

(cherry picked from commit b3b0cef0c2)

Co-authored-by: Ram Vikram Singh <ramvikrams243@gmail.com>
Co-authored-by: Éric <merwok@netwok.org>
This commit is contained in:
Miss Islington (bot)
2026-04-15 18:15:31 +02:00
committed by GitHub
parent 1797dcda4e
commit 9c2db8144e
+1 -1
View File
@@ -629,7 +629,7 @@ are always available. They are listed here in alphabetical order.
If the given source is a string, then leading and trailing spaces and tabs
are stripped.
See :func:`ast.literal_eval` for a function that can safely evaluate strings
See :func:`ast.literal_eval` for a function to evaluate strings
with expressions containing only literals.
.. audit-event:: exec code_object eval