Use the :mod: role.

This commit is contained in:
Georg Brandl 2008-12-03 06:44:59 +00:00
parent 08388ef361
commit ffd1a759da

View file

@ -474,7 +474,7 @@ originally designed for Python 3.0 but that were back-ported to Python
consulted for longer descriptions. consulted for longer descriptions.
* :ref:`pep-0343`. The :keyword:`with` statement is now a standard * :ref:`pep-0343`. The :keyword:`with` statement is now a standard
feature and no longer needs to be imported from the ``__future__``. feature and no longer needs to be imported from the :mod:`__future__`.
Also check out :ref:`new-26-context-managers` and Also check out :ref:`new-26-context-managers` and
:ref:`new-module-contextlib`. :ref:`new-module-contextlib`.