mirror of https://github.com/python/cpython
modified template to demonstrate subsection for examples.
This commit is contained in:
parent
d50338fbd9
commit
8968a8292f
|
@ -129,7 +129,11 @@ failure.
|
||||||
% an example giving the flavor of the module may be given before the
|
% an example giving the flavor of the module may be given before the
|
||||||
% detailed list of functions.)
|
% detailed list of functions.)
|
||||||
|
|
||||||
Example:
|
\subsection{Example}
|
||||||
|
\nodename{Spam Example}
|
||||||
|
|
||||||
|
The following example demonstrates how to open a can of spam using the
|
||||||
|
\module{spam} module.
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
>>> import spam
|
>>> import spam
|
||||||
|
|
Loading…
Reference in New Issue