From: Georg Brandl Date: Fri, 1 Sep 2006 22:30:56 +0000 (+0000) Subject: evalfile() should be execfile(). X-Git-Tag: v2.5c2~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=097bbea4b697267d29cacd4d048873f2239f8550;p=thirdparty%2FPython%2Fcpython.git evalfile() should be execfile(). (backport from rev. 51677) --- diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index fb5c4f299dd6..554d094fa8e3 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -4381,7 +4381,7 @@ the debugger, and that's one reason why this loophole is not closed. makes use of private variables of the base class possible.) Notice that code passed to \code{exec}, \code{eval()} or -\code{evalfile()} does not consider the classname of the invoking +\code{execfile()} does not consider the classname of the invoking class to be the current class; this is similar to the effect of the \code{global} statement, the effect of which is likewise restricted to code that is byte-compiled together. The same restriction applies to