diff options
author | Skip Montanaro <skip@pobox.com> | 2000-07-06 13:43:37 +0000 |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2000-07-06 13:43:37 +0000 |
commit | b560a8e2021cba9fef0d8af6245ab5d87cc26dd1 (patch) | |
tree | f6d8e2d20b391fe946125ec658a918a067682731 | |
parent | 207250b4e321e9b7f2612dc4624970a4eb6889bb (diff) | |
download | cpython-b560a8e2021cba9fef0d8af6245ab5d87cc26dd1.tar.gz |
modified template to demonstrate subsection for examples.
-rw-r--r-- | Doc/templates/module.tex | 6 |
1 files changed, 5 insertions, 1 deletions
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 |