diff options
author | Skip Montanaro <skip@pobox.com> | 2000-07-06 13:43:37 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2000-07-06 13:43:37 (GMT) |
commit | 8968a8292f5be0d19eefc5d814ee45e77ddb5eb6 (patch) | |
tree | b676c5b4a0f34041052f01f61bcea691ea4a7351 | |
parent | d50338fbd9928527f6d53ade8974619591982b2e (diff) | |
download | cpython-8968a8292f5be0d19eefc5d814ee45e77ddb5eb6.zip cpython-8968a8292f5be0d19eefc5d814ee45e77ddb5eb6.tar.gz cpython-8968a8292f5be0d19eefc5d814ee45e77ddb5eb6.tar.bz2 |
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 84871aa..107848f 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 |