#7935: cross-reference to ast.literal_eval() from eval() docs.
This commit is contained in:
parent
492f3fc272
commit
05bfcc590d
|
@ -335,6 +335,9 @@ are always available. They are listed here in alphabetical order.
|
|||
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]])
|
||||
|
||||
|
|
Loading…
Reference in New Issue