[Python-checkins] r82835 - python/branches/py3k/Doc/tutorial/classes.rst
mark.dickinson
python-checkins at python.org
Mon Jul 12 11:37:41 CEST 2010
Author: mark.dickinson
Date: Mon Jul 12 11:37:40 2010
New Revision: 82835
Log:
Remove mention of execfile from the tutorial.
Modified:
python/branches/py3k/Doc/tutorial/classes.rst
Modified: python/branches/py3k/Doc/tutorial/classes.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/classes.rst (original)
+++ python/branches/py3k/Doc/tutorial/classes.rst Mon Jul 12 11:37:40 2010
@@ -599,12 +599,12 @@
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:
More information about the Python-checkins
mailing list