summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstring.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-18 16:48:13 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-18 16:48:13 (GMT)
commit480abc27513c6f1e43918a02deca4cf0ce7e4838 (patch)
treee4c4170937e3ac922e4fdc48a13d732103c96b47 /Doc/lib/libstring.tex
parent6b2320fa6bd5190dc72b388de5d5b34aa32b0aec (diff)
downloadcpython-480abc27513c6f1e43918a02deca4cf0ce7e4838.zip
cpython-480abc27513c6f1e43918a02deca4cf0ce7e4838.tar.gz
cpython-480abc27513c6f1e43918a02deca4cf0ce7e4838.tar.bz2
Document the "printable" and "punctuation" constants added to the string
module.
Diffstat (limited to 'Doc/lib/libstring.tex')
-rw-r--r--Doc/lib/libstring.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex
index 6abcd13..82b96a1 100644
--- a/Doc/lib/libstring.tex
+++ b/Doc/lib/libstring.tex
@@ -37,6 +37,17 @@ The constants defined in this module are are:
The string \code{'01234567'}.
\end{datadesc}
+\begin{datadesc}{punctuation}
+ String of \ASCII{} characters which are considered punctuation
+ characters in the \samp{C} locale.
+\end{datadesc}
+
+\begin{datadesc}{printable}
+ String of characters which are considered printable. This is a
+ combination of \constant{digits}, \constant{letters},
+ \constant{punctuation}, and \constant{whitespace}.
+\end{datadesc}
+
\begin{datadesc}{uppercase}
A string containing all the characters that are considered uppercase
letters. On most systems this is the string