]> granicus.if.org Git - python/commitdiff
Remove mention of execfile from the tutorial.
authorMark Dickinson <dickinsm@gmail.com>
Mon, 12 Jul 2010 09:37:40 +0000 (09:37 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 12 Jul 2010 09:37:40 +0000 (09:37 +0000)
Doc/tutorial/classes.rst

index c7b392c2ddd9c84f966e8b51c843c34a3810273e..6b0efc3d563bc01e8487ce9d7dc4166f88a279df 100644 (file)
@@ -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: