Commit 984920bb authored by Fred Drake's avatar Fred Drake

Make the embedded hyperlinks work.

parent b36615d5
...@@ -86,10 +86,10 @@ by executing: ...@@ -86,10 +86,10 @@ by executing:
from __future__ import division from __future__ import division
\end{verbatim} \end{verbatim}
the expression \code{11/4} would evaluate to \code{2.75}. By the expression \code{11/4} would evaluate to \code{2.75}. By actually
actually importing the \refmodule[future]{__future__} module and importing the \ulink{\module{__future__}}{../lib/module-future.html}
evaluating its variables, you can see when a new feature was first module and evaluating its variables, you can see when a new feature
added to the language and when it will become the default: was first added to the language and when it will become the default:
\begin{verbatim} \begin{verbatim}
>>> import __future__ >>> import __future__
...@@ -256,8 +256,9 @@ distinguished by their namespaces. Namespaces also aid readability ...@@ -256,8 +256,9 @@ distinguished by their namespaces. Namespaces also aid readability
and maintainability by making it clear which modules implement a and maintainability by making it clear which modules implement a
function. For instance, writing \function{random.seed()} or function. For instance, writing \function{random.seed()} or
{}\function{itertools.izip()} makes it clear that those functions are {}\function{itertools.izip()} makes it clear that those functions are
implemented by the \refmodule{random} and \refmodule{itertools} implemented by the \ulink{\module{random}}{../lib/module-random.html}
modules respectively. and \ulink{\module{itertools}}{../lib/module-itertools.html} modules
respectively.
\index{nested scope} \index{nested scope}
\item[nested scope] \item[nested scope]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment