ImageImage

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: incorrect string documentation
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: briancampbell, fdrake, nnorwitz
Priority: normal Keywords:

Created on 2002-11-15 23:40 by briancampbell, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (5)
msg13306 - (view) Author: brian campbell (briancampbell) Date: 2002-11-15 23:40
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?
msg13307 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2002-11-15 23:52
Logged In: YES 
user_id=33168

This feature was added in 2.2.  What version of python are
you using?
msg13308 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-11-16 00:33
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.
msg13309 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-11-16 00:38
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.
msg13310 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-11-16 00:45
Logged In: YES 
user_id=3066

Fixed in Doc/lib/libstdtypes.tex revisions 1.109 and 1.80.6.16.
History
Date User Action Args
2022-04-10 16:05:54adminsetgithub: 37485
2002-11-15 23:40:43briancampbellcreate