summaryrefslogtreecommitdiffstats
path: root/Doc/libgetopt.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
commit1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch)
tree260789493c7151408f009eaa84a7815ce4d28246 /Doc/libgetopt.tex
parentdc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff)
downloadcpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
Diffstat (limited to 'Doc/libgetopt.tex')
-rw-r--r--Doc/libgetopt.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/libgetopt.tex b/Doc/libgetopt.tex
index a9210b0..286cf58 100644
--- a/Doc/libgetopt.tex
+++ b/Doc/libgetopt.tex
@@ -45,7 +45,7 @@ be mixed.
An example using only \UNIX{} style options:
-\bcode\begin{verbatim}
+\begin{verbatim}
>>> import getopt, string
>>> args = string.split('-a -b -cfoo -d bar a1 a2')
>>> args
@@ -56,11 +56,11 @@ An example using only \UNIX{} style options:
>>> args
['a1', 'a2']
>>>
-\end{verbatim}\ecode
+\end{verbatim}
%
Using long option names is equally easy:
-\bcode\begin{verbatim}
+\begin{verbatim}
>>> s = '--condition=foo --testing --output-file abc.def -x a1 a2'
>>> args = string.split(s)
>>> args
@@ -72,7 +72,7 @@ Using long option names is equally easy:
>>> args
['a1', 'a2']
>>>
-\end{verbatim}\ecode
+\end{verbatim}
%
The exception
\code{getopt.error}