]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-100305: Deemphasize that `ast.literal_eval` is safe in `eval` documentation (...
authorRam Vikram Singh <ramvikrams243@gmail.com>
Sun, 12 Apr 2026 03:07:42 +0000 (08:37 +0530)
committerGitHub <noreply@github.com>
Sun, 12 Apr 2026 03:07:42 +0000 (03:07 +0000)
Co-authored-by: Éric <merwok@netwok.org>
Doc/library/functions.rst

index e8c4605d0578e289efc313c2f827fa888ba6e3c4..119141d2e6daf391bb27032d8139d29601b3ab78 100644 (file)
@@ -644,7 +644,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