# Documentation From https://docs.python.org/3/library/functions.html#eval: > See [`ast.literal_eval()`](https://docs.python.org/3/library/ast.html#ast.literal_eval) for a function that can safely evaluate strings with expressions containing only literals. <!-- gh-linked-prs --> ### Linked PRs * gh-100326 <!-- /gh-linked-prs -->