]> granicus.if.org Git - python/commitdiff
modified template to demonstrate subsection for examples.
authorSkip Montanaro <skip@pobox.com>
Thu, 6 Jul 2000 13:43:37 +0000 (13:43 +0000)
committerSkip Montanaro <skip@pobox.com>
Thu, 6 Jul 2000 13:43:37 +0000 (13:43 +0000)
Doc/templates/module.tex

index 84871aabe46dc1883f4dc9eb6ff98379bf18b1ea..107848f68b3fe6d3531564a3efed27b7320b3013 100644 (file)
@@ -129,7 +129,11 @@ failure.
 % an example giving the flavor of the module may be given before the
 % 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}
 >>> import spam