Skip to content

Commit da1f416

Browse files
committed
Update functions.rst
1 parent c05387b commit da1f416

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/library/functions.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,8 @@ are always available. They are listed here in alphabetical order.
555555
are stripped.
556556

557557
.. versionchanged:: 3.11
558-
:func:`ast.literal_eval` is no longer marked as safe for evaluating strings
559-
with expressions containing only literals. For further information, please
560-
check the documentation for :func:`ast.literal_eval`
558+
See :func:`ast.literal_eval` for a function that can "safely" evaluate strings
559+
with expressions containing only literals.
561560

562561
.. audit-event:: exec code_object eval
563562

0 commit comments

Comments
 (0)