[Python-bugs-list] [ python-Bugs-639170 ] incorrect string documentation

noreply@sourceforge.net noreply@sourceforge.net
Fri, 15 Nov 2002 16:38:01 -0800


Bugs item #639170, was opened at 2002-11-15 18:40
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=639170&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: brian campbell (briancampbell)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: incorrect string documentation

Initial Comment:
The documentation for string methods strip, lstrip, and rstrip appear as strip(s, [chars]), when none of 
these methods take the optional chars argument.  This affects both the string module documentation, 
and the built-in string methods documentation.  BTW, this would be a handy feature.  Did it previously 
exist?

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-11-15 19:38

Message:
Logged In: YES 
user_id=3066

Ok, what I meant was that this feature was not available in 
2.2 or 2.2.1; clearly it was added for 2.2.2.

This was committed in revisions 2.147.6.1 and 2.147.6.3.  
Revision 2.147.6.2 was also a new feature for the 2.2 branch.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-11-15 19:33

Message:
Logged In: YES 
user_id=3066

Erm, no, this was *not* available in 2.2.2.  It appears to have 
been added in 2.2.2 (why?).  This warrants a documentation 
fix for the r22-maint branch and the head, noting that this 
feature was introduced in Python 2.2.2.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2002-11-15 18:52

Message:
Logged In: YES 
user_id=33168

This feature was added in 2.2.  What version of python are
you using?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=639170&group_id=5470