Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d181f43

Browse files
committed
Merged revisions 82835 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r82835 | mark.dickinson | 2010-07-12 10:37:40 +0100 (Mon, 12 Jul 2010) | 1 line Remove mention of execfile from the tutorial. ........
1 parent 116874d commit d181f43

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/tutorial/classes.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -599,12 +599,12 @@ Note that the mangling rules are designed mostly to avoid accidents; it still is
599599
possible to access or modify a variable that is considered private. This can
600600
even be useful in special circumstances, such as in the debugger.
601601

602-
Notice that code passed to ``exec()``, ``eval()`` or ``execfile()`` does not
603-
consider the classname of the invoking class to be the current class; this is
604-
similar to the effect of the ``global`` statement, the effect of which is
605-
likewise restricted to code that is byte-compiled together. The same
606-
restriction applies to ``getattr()``, ``setattr()`` and ``delattr()``, as well
607-
as when referencing ``__dict__`` directly.
602+
Notice that code passed to ``exec()`` or ``eval()`` does not consider the
603+
classname of the invoking class to be the current class; this is similar to the
604+
effect of the ``global`` statement, the effect of which is likewise restricted
605+
to code that is byte-compiled together. The same restriction applies to
606+
``getattr()``, ``setattr()`` and ``delattr()``, as well as when referencing
607+
``__dict__`` directly.
608608

609609

610610
.. _tut-odds:

0 commit comments

Comments
 (0)