Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libtypes.tex @ 7277:bf4e790bd61a legacy-trunk
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.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 13 Feb 1998 06:58:54 +0000 |
| parents | 95c101964414 |
| children | b7f84d179e51 |
line wrap: on
line diff
--- a/Doc/lib/libtypes.tex Fri Feb 13 06:48:05 1998 +0000 +++ b/Doc/lib/libtypes.tex Fri Feb 13 06:58:54 1998 +0000 @@ -25,7 +25,7 @@ \index{false} \begin{itemize} -\renewcommand{\indexsubitem}{(Built-in object)} +\setindexsubitem{(Built-in object)} \item \code{None} \ttindex{None} @@ -409,13 +409,13 @@ the formats in the string must have a parenthesized key into that dictionary inserted immediately after the \code{\%} character, and each format formats the corresponding entry from the mapping. E.g. -\bcode\begin{verbatim} +\begin{verbatim} >>> count = 2 >>> language = 'Python' >>> print '%(language)s has %(count)03d quote types.' % vars() Python has 002 quote types. >>> -\end{verbatim}\ecode +\end{verbatim} In this case no * specifiers may occur in a format (since they require a sequential parameter list). @@ -466,7 +466,7 @@ \indexii{subscript}{assignment} \indexii{slice}{assignment} \stindex{del} -\renewcommand{\indexsubitem}{(list method)} +\setindexsubitem{(list method)} \ttindex{append} \ttindex{count} \ttindex{index} @@ -538,7 +538,7 @@ \indexiii{operations on}{dictionary}{type} \stindex{del} \bifuncindex{len} -\renewcommand{\indexsubitem}{(dictionary method)} +\setindexsubitem{(dictionary method)} \ttindex{keys} \ttindex{has_key} @@ -681,7 +681,7 @@ Files have the following methods: -\renewcommand{\indexsubitem}{(file method)} +\setindexsubitem{(file method)} \begin{funcdesc}{close}{} Close the file. A closed file cannot be read or written anymore.
