diff options
author | Georg Brandl <georg@python.org> | 2006-09-01 22:30:52 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-09-01 22:30:52 (GMT) |
commit | f29882d8e747deb3967c62a14d4285260b2cad89 (patch) | |
tree | 11e64cb99e8968af272926d95911c627238eb10f | |
parent | eef345aa9795a73eaecb0c426399d2de2ecacc3e (diff) | |
download | cpython-f29882d8e747deb3967c62a14d4285260b2cad89.zip cpython-f29882d8e747deb3967c62a14d4285260b2cad89.tar.gz cpython-f29882d8e747deb3967c62a14d4285260b2cad89.tar.bz2 |
evalfile() should be execfile().
-rw-r--r-- | Doc/tut/tut.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index fb5c4f2..554d094 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 |