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 | 8968a8292f5be0d19eefc5d814ee45e77ddb5eb6 (patch) | |
| tree | b676c5b4a0f34041052f01f61bcea691ea4a7351 | |
| parent | d50338fbd9928527f6d53ade8974619591982b2e (diff) | |
| download | cpython-git-8968a8292f5be0d19eefc5d814ee45e77ddb5eb6.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 |
