summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-03 22:15:56 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-03 22:15:56 (GMT)
commitb38784e4a0c51e8ca1c833ed1b9dacbc42fcb611 (patch)
tree10008d863097c3fe373065fdd92a62eea171a5ef
parentfcf94681ed3562277a0d5c4faab226b0d69c2d79 (diff)
downloadcpython-b38784e4a0c51e8ca1c833ed1b9dacbc42fcb611.zip
cpython-b38784e4a0c51e8ca1c833ed1b9dacbc42fcb611.tar.gz
cpython-b38784e4a0c51e8ca1c833ed1b9dacbc42fcb611.tar.bz2
Slightly improved indexing for the string-% operator, thanks to comments
from Skip Montanaro. There is one weirdness in the final index for HTML, but that is low priority.
-rw-r--r--Doc/lib/libstdtypes.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 2b87159..ed0c4d9 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -670,10 +670,11 @@ Return a copy of the string converted to uppercase.
\subsubsection{String Formatting Operations \label{typesseq-strings}}
-\index{formatting, string}
+\index{formatting, string (\%{})}
\index{string!formatting}
\index{printf-style formatting}
\index{sprintf-style formatting}
+\index{\protect\%{} formatting}
String and Unicode objects have one unique built-in operation: the
\code{\%} operator (modulo). Given \code{\var{format} \%