From: Skip Montanaro Date: Thu, 6 Jul 2000 13:43:37 +0000 (+0000) Subject: modified template to demonstrate subsection for examples. X-Git-Tag: v2.0b1~1052 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8968a8292f5be0d19eefc5d814ee45e77ddb5eb6;p=python modified template to demonstrate subsection for examples. --- diff --git a/Doc/templates/module.tex b/Doc/templates/module.tex index 84871aabe4..107848f68b 100644 --- a/Doc/templates/module.tex +++ b/Doc/templates/module.tex @@ -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