summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-08-02 12:09:58 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-08-02 12:09:58 (GMT)
commit1455f795e29814faf63a34619785fe6a8525bf1c (patch)
treed2d135e8be9c35162b6b6d3d17f50040098adb6e /Doc/whatsnew
parent270fe88c68d692fbbdae434e9db941f7d8530f9b (diff)
downloadcpython-1455f795e29814faf63a34619785fe6a8525bf1c.zip
cpython-1455f795e29814faf63a34619785fe6a8525bf1c.tar.gz
cpython-1455f795e29814faf63a34619785fe6a8525bf1c.tar.bz2
Update item
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew24.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex
index a2dbbb7..0edd2a9 100644
--- a/Doc/whatsnew/whatsnew24.tex
+++ b/Doc/whatsnew/whatsnew24.tex
@@ -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.