#7935: cross-reference to ast.literal_eval() from eval() docs.
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 8089df1..8a413f4 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -335,6 +335,9 @@
returns the current global and local dictionary, respectively, which may be
useful to pass around for use by :func:`eval` or :func:`exec`.
+ See :func:`ast.literal_eval` for a function that can safely evaluate strings
+ with expressions containing only literals.
+
.. function:: exec(object[, globals[, locals]])