https://github.com/python/cpython/commit/0d2101de2ac432cf27486020599c2376a17954a3
commit: 0d2101de2ac432cf27486020599c2376a17954a3
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-04-15T17:15:42+01:00
summary:

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

(cherry picked from commit b3b0cef0c2aacdc616fa48674552ab1e34553835)

Co-authored-by: Ram Vikram Singh <[email protected]>
Co-authored-by: Éric <[email protected]>

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 96b88b38039fa3..4b849770c1936a 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -635,7 +635,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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to