[issue4361] Docstring for Lib/string.py is outdated

2008-11-22 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Fixed in r67329.

--
resolution:  - fixed
status: open - closed

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4361
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4361] Docstring for Lib/string.py is outdated

2008-11-21 Thread Terry J. Reedy

Terry J. Reedy [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
http://bugs.python.org/issue4361
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4361] Docstring for Lib/string.py is outdated

2008-11-20 Thread thp

New submission from thp [EMAIL PROTECTED]:

The docstring in Lib/string.py in the source of Python 3.0rc2 is
wrong. It currently says lowercase, uppercase and letters where it
should say ascii_lowercase, ascii_uppercase and ascii_letters.

--
assignee: georg.brandl
components: Documentation
files: Lib_string_py-docstring.patch
keywords: patch
messages: 76097
nosy: georg.brandl, thp
severity: normal
status: open
title: Docstring for Lib/string.py is outdated
versions: Python 3.0
Added file: http://bugs.python.org/file12069/Lib_string_py-docstring.patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4361
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com