mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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.
This commit is contained in:
parent
dc8af0acc1
commit
1947991c2f
241 changed files with 1022 additions and 1020 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue