summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-14 17:57:42 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-14 17:57:42 (GMT)
commit66d32b1e120c018314773f10cb41a589f7539e9f (patch)
tree2a6ad6a55f393f2f1d999581a5f52ebc3d86751d /Doc/lib
parent7ae51bf82d836f036376671c58882b058acd3e2e (diff)
downloadcpython-66d32b1e120c018314773f10cb41a589f7539e9f.zip
cpython-66d32b1e120c018314773f10cb41a589f7539e9f.tar.gz
cpython-66d32b1e120c018314773f10cb41a589f7539e9f.tar.bz2
Add some index entries to make it easier to find information on
%-formatting of strings.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libstdtypes.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index b638fa3..3e9cc53 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -586,6 +586,11 @@ Return a copy of the string converted to uppercase.
\subsubsection{String Formatting Operations \label{typesseq-strings}}
+\index{formatting, string}
+\index{string!formatting}
+\index{printf-style formatting}
+\index{sprintf-style formatting}
+
String objects have one unique built-in operation: the \code{\%}
operator (modulo) with a string left argument interprets this string
as a C \cfunction{sprintf()} format string to be applied to the