mirror of https://github.com/python/cpython
Document the "printable" and "punctuation" constants added to the string
module.
This commit is contained in:
parent
6b2320fa6b
commit
480abc2751
|
@ -37,6 +37,17 @@ The constants defined in this module are are:
|
||||||
The string \code{'01234567'}.
|
The string \code{'01234567'}.
|
||||||
\end{datadesc}
|
\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}
|
\begin{datadesc}{uppercase}
|
||||||
A string containing all the characters that are considered uppercase
|
A string containing all the characters that are considered uppercase
|
||||||
letters. On most systems this is the string
|
letters. On most systems this is the string
|
||||||
|
|
Loading…
Reference in New Issue