mirror of
https://github.com/python/cpython.git
synced 2025-11-08 21:52:45 +00:00
modified template to demonstrate subsection for examples.
This commit is contained in:
parent
d50338fbd9
commit
8968a8292f
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue