[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

Éric Araujo report at bugs.python.org
Mon Aug 8 16:35:05 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

instead of*

An addition: in some cases, it may be on purpose that someone used ``somename`` instead of :func:`somename`, for example to avoid a ton of link in the doc of the somename function.  For the most part however, I believe it was just unawareness (or maybe unavailability) of the :data: construct that explains its absence.

One last precision: markup like ``getattr(spam, ham)`` should stay untouched: it is a code snippet, not just a reference to the function.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12301>
_______________________________________


More information about the Python-bugs-list mailing list