summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-18 16:48:13 +0000
committerFred Drake <fdrake@acm.org>2000-09-18 16:48:13 +0000
commit37bc86ba65eb5af1701bf929389ff345fe5b6402 (patch)
tree8ef916e33130f1e0249e7fe424becd71c64550f6 /Doc
parent683d81f1d1129bdc210a2da9e48f41bdd126abfb (diff)
downloadcpython-37bc86ba65eb5af1701bf929389ff345fe5b6402.tar.gz
Document the "printable" and "punctuation" constants added to the string
module.
Diffstat (limited to 'Doc')
-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 6abcd1307c..82b96a12da 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