[issue4361] Docstring for "Lib/string.py" is outdated
Terry J. Reedy
report at bugs.python.org
Sat Nov 22 03:37:13 CET 2008
Terry J. Reedy <tjreedy at udel.edu> added the comment:
In rc3 also: The problem is partial update:
DESCRIPTION
Public module variables:
whitespace -- a string containing all characters considered whitespace
lowercase -- a string containing all characters considered lowercase
letters
uppercase -- a string containing all characters considered uppercase
letters
letters -- a string containing all characters considered letters
...
DATA
ascii_letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
ascii_lowercase = 'abcdefghijklmnopqrstuvwxyz'
ascii_uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
The latter is indeed correct:
>>> dir(string)
[..., 'ascii_letters', 'ascii_lowercase', 'ascii_uppercase', ...]
----------
nosy: +tjreedy
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4361>
_______________________________________
More information about the Python-bugs-list
mailing list