summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-07-12 09:37:40 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-07-12 09:37:40 (GMT)
commitcf48e4413030b1e22562216687d7800aba098e09 (patch)
tree19e82ac0a0daacf7fd1e8e230529e66bd1817d2a /Doc
parentdb4e939206e17c0932a177d186462c8f69f22903 (diff)
downloadcpython-cf48e4413030b1e22562216687d7800aba098e09.zip
cpython-cf48e4413030b1e22562216687d7800aba098e09.tar.gz
cpython-cf48e4413030b1e22562216687d7800aba098e09.tar.bz2
Remove mention of execfile from the tutorial.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/classes.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index c7b392c..6b0efc3 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -599,12 +599,12 @@ Note that the mangling rules are designed mostly to avoid accidents; it still is
possible to access or modify a variable that is considered private. This can
even be useful in special circumstances, such as in the debugger.
-Notice that code passed to ``exec()``, ``eval()`` or ``execfile()`` does not
-consider the classname of the invoking class to be the current class; this is
-similar to the effect of the ``global`` statement, the effect of which is
-likewise restricted to code that is byte-compiled together. The same
-restriction applies to ``getattr()``, ``setattr()`` and ``delattr()``, as well
-as when referencing ``__dict__`` directly.
+Notice that code passed to ``exec()`` or ``eval()`` does not consider the
+classname of the invoking class to be the current class; this is similar to the
+effect of the ``global`` statement, the effect of which is likewise restricted
+to code that is byte-compiled together. The same restriction applies to
+``getattr()``, ``setattr()`` and ``delattr()``, as well as when referencing
+``__dict__`` directly.
.. _tut-odds: