diff -r cdcadbb72241 Doc/library/functions.rst --- a/Doc/library/functions.rst Sun Jul 27 03:01:29 2014 -0400 +++ b/Doc/library/functions.rst Sun Jul 27 12:21:02 2014 +0300 @@ -385,13 +385,14 @@ The *expression* argument is parsed and evaluated as a Python expression (technically speaking, a condition list) using the *globals* and *locals* dictionaries as global and local namespace. If the *globals* dictionary is - present and lacks '__builtins__', the current globals are copied into *globals* - before *expression* is parsed. This means that *expression* normally has full - access to the standard :mod:`builtins` module and restricted environments are - propagated. If the *locals* dictionary is omitted it defaults to the *globals* - dictionary. If both dictionaries are omitted, the expression is executed in the - environment where :func:`eval` is called. The return value is the result of - the evaluated expression. Syntax errors are reported as exceptions. Example: + present and lacks '__builtins__', the current mapping of '__builtins__' is + copied into *globals* before *expression* is parsed. This means that + *expression* normally has full access to the standard :mod:`builtins` module and + restricted environments are propagated. If the *locals* dictionary is omitted + it defaults to the *globals* dictionary. If both dictionaries are omitted, + the expression is executed in the environment where :func:`eval` is called. The + return value is the result of the evaluated expression. Syntax errors are + reported as exceptions. Example: >>> x = 1 >>> eval('x+1')