[Python-Dev] string.strip doc vs code mismatch
Tue, 18 Mar 2003 20:31:48 -0500
Could someone please review the patch attached to this bug:
There are two patches attached--one for 2.3 and one for 2.2.3.
As you may recall, there was a parameter added to all the strip
methods for 2.3. This was inadvertantly backported to 2.2.2,
but only for string and unicode methods.
Sometime back it was decided to update the string module for 2.2.2 to
stay in sync with the string/unicode methods. However, there have
been various partial fixes. I believe the patches correct all
* fix differences between extra param name--it was referred to
as both chars and sep in code/doc, always use chars
* update docstrings, add notes about chars param (sep -> chars)
* add chars param to each string.*strip() function
(ie, lstrip, rstrip)
* update doc with functionality and to correct when the param