#4361: fix string.py docstring, clarify that only ASCII characters are in its constants.

This commit is contained in:
Georg Brandl 2008-11-22 08:31:09 +00:00
parent 4216d2d802
commit 5076740d4f
2 changed files with 10 additions and 10 deletions

View File

@ -71,7 +71,7 @@ The constants defined in this module are:
.. data:: whitespace .. data:: whitespace
A string containing all characters that are considered whitespace. A string containing all ASCII characters that are considered whitespace.
This includes the characters space, tab, linefeed, return, formfeed, and This includes the characters space, tab, linefeed, return, formfeed, and
vertical tab. vertical tab.

View File

@ -2,15 +2,15 @@
Public module variables: Public module variables:
whitespace -- a string containing all characters considered whitespace whitespace -- a string containing all ASCII whitespace
lowercase -- a string containing all characters considered lowercase letters ascii_lowercase -- a string containing all ASCII lowercase letters
uppercase -- a string containing all characters considered uppercase letters ascii_uppercase -- a string containing all ASCII uppercase letters
letters -- a string containing all characters considered letters ascii_letters -- a string containing all ASCII letters
digits -- a string containing all characters considered decimal digits digits -- a string containing all ASCII decimal digits
hexdigits -- a string containing all characters considered hexadecimal digits hexdigits -- a string containing all ASCII hexadecimal digits
octdigits -- a string containing all characters considered octal digits octdigits -- a string containing all ASCII octal digits
punctuation -- a string containing all characters considered punctuation punctuation -- a string containing all ASCII punctuation characters
printable -- a string containing all characters considered printable printable -- a string containing all ASCII characters considered printable
""" """