diff options
author | Fred Drake <fdrake@acm.org> | 1998-03-16 05:23:50 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-03-16 05:23:50 (GMT) |
commit | 1a855fad30714439f26458ac3ac715790805ad0e (patch) | |
tree | 97a4504e69bf322dcc78a87becd02b1f847c6b21 /Doc | |
parent | abdea226dc567cb647f72527647dbd73b68e9b76 (diff) | |
download | cpython-1a855fad30714439f26458ac3ac715790805ad0e.zip cpython-1a855fad30714439f26458ac3ac715790805ad0e.tar.gz cpython-1a855fad30714439f26458ac3ac715790805ad0e.tar.bz2 |
Markup nits.
Adjusted some index entries.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libtypes.tex | 18 | ||||
-rw-r--r-- | Doc/libtypes.tex | 18 |
2 files changed, 22 insertions, 14 deletions
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex index d799a1c..5c87653 100644 --- a/Doc/lib/libtypes.tex +++ b/Doc/lib/libtypes.tex @@ -126,8 +126,9 @@ Notes: \item[(1)] \code{<>} and \code{!=} are alternate spellings for the same operator. (I couldn't choose between \ABC{} and \C{}! :-) -\indexii{ABC@\ABC{}}{language} -\indexii{\C{}}{language} +\index{ABC language@\ABC{} language} +\index{language!ABC@\ABC{}} +\indexii{C@\C{}}{language} \end{description} @@ -167,7 +168,7 @@ working with. \indexiii{long}{integer}{type} \indexii{floating point}{type} \indexii{complex number}{type} -\indexii{\C{}}{language} +\indexii{C@\C{}}{language} Complex numbers have a real and imaginary part, which are both implemented using \code{double} in \C{}. To extract these parts from @@ -252,7 +253,7 @@ module \code{math} for well-defined conversions. \bifuncindex{ceil} \indexii{numeric}{conversions} \refbimodindex{math} -\indexii{\C{}}{language} +\indexii{C@\C{}}{language} \item[(3)] See the section on built-in functions for an exact definition. @@ -421,8 +422,10 @@ All other errors raise exceptions. If the right argument is a dictionary (or any kind of mapping), then 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. +dictionary inserted immediately after the \character{\%} character, +and each format formats the corresponding entry from the mapping. +For example: + \begin{verbatim} >>> count = 2 >>> language = 'Python' @@ -430,11 +433,12 @@ each format formats the corresponding entry from the mapping. E.g. Python has 002 quote types. >>> \end{verbatim} + In this case no * specifiers may occur in a format (since they require a sequential parameter list). Additional string operations are defined in standard module -\code{string} and in built-in module \code{re}. +\module{string} and in built-in module \module{re}. \refstmodindex{string} \refbimodindex{re} diff --git a/Doc/libtypes.tex b/Doc/libtypes.tex index d799a1c..5c87653 100644 --- a/Doc/libtypes.tex +++ b/Doc/libtypes.tex @@ -126,8 +126,9 @@ Notes: \item[(1)] \code{<>} and \code{!=} are alternate spellings for the same operator. (I couldn't choose between \ABC{} and \C{}! :-) -\indexii{ABC@\ABC{}}{language} -\indexii{\C{}}{language} +\index{ABC language@\ABC{} language} +\index{language!ABC@\ABC{}} +\indexii{C@\C{}}{language} \end{description} @@ -167,7 +168,7 @@ working with. \indexiii{long}{integer}{type} \indexii{floating point}{type} \indexii{complex number}{type} -\indexii{\C{}}{language} +\indexii{C@\C{}}{language} Complex numbers have a real and imaginary part, which are both implemented using \code{double} in \C{}. To extract these parts from @@ -252,7 +253,7 @@ module \code{math} for well-defined conversions. \bifuncindex{ceil} \indexii{numeric}{conversions} \refbimodindex{math} -\indexii{\C{}}{language} +\indexii{C@\C{}}{language} \item[(3)] See the section on built-in functions for an exact definition. @@ -421,8 +422,10 @@ All other errors raise exceptions. If the right argument is a dictionary (or any kind of mapping), then 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. +dictionary inserted immediately after the \character{\%} character, +and each format formats the corresponding entry from the mapping. +For example: + \begin{verbatim} >>> count = 2 >>> language = 'Python' @@ -430,11 +433,12 @@ each format formats the corresponding entry from the mapping. E.g. Python has 002 quote types. >>> \end{verbatim} + In this case no * specifiers may occur in a format (since they require a sequential parameter list). Additional string operations are defined in standard module -\code{string} and in built-in module \code{re}. +\module{string} and in built-in module \module{re}. \refstmodindex{string} \refbimodindex{re} |