diff -r 54fb77e0762c Doc/tutorial/classes.rst --- a/Doc/tutorial/classes.rst Thu Jun 23 14:22:59 2011 +0200 +++ b/Doc/tutorial/classes.rst Sat Aug 06 11:14:32 2011 -0700 @@ -594,21 +594,21 @@ is textually replaced with ``_classname_ current class name with leading underscore(s) stripped. This mangling is done without regard to the syntactic position of the identifier, as long as it occurs within the definition of a class. 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()`` or ``eval()`` does not consider the +Notice that code passed to :func:`exec` or :func:`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 +:func:`getattr`, :func:`setattr` and :func:`delattr`, as well as when referencing ``__dict__`` directly. .. _tut-odds: Odds and Ends =============