From: Fred Drake Date: Mon, 16 Mar 1998 05:23:50 +0000 (+0000) Subject: Markup nits. X-Git-Tag: v1.5.1~359 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a855fad30714439f26458ac3ac715790805ad0e;p=thirdparty%2FPython%2Fcpython.git Markup nits. Adjusted some index entries. --- diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex index d799a1ce5f96..5c876534982a 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 d799a1ce5f96..5c876534982a 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}