Update item

This commit is contained in:
Andrew M. Kuchling 2004-08-02 12:09:58 +00:00
parent 270fe88c68
commit 1455f795e2
1 changed files with 4 additions and 2 deletions

View File

@ -608,8 +608,10 @@ yellow 5
\end{verbatim}
\item The \function{eval(\var{expr}, \var{globals}, \var{locals})}
function now accepts any mapping type for the \var{locals} argument.
Previously this had to be a regular Python dictionary.
and \function{execfile(\var{filename}, \var{globals}, \var{locals})}
functions and the \keyword{exec} statement now accept any mapping type
for the \var{locals} argument. Previously this had to be a regular
Python dictionary. (Contributed by Raymond Hettinger.)
\item The \function{zip()} built-in function and \function{itertools.izip()}
now return an empty list if called with no arguments.