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: split method documentation can be improved
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: quiver, rhettinger, sjoerd
Priority: normal Keywords:

Created on 2004-02-21 09:22 by sjoerd, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg20095 - (view) Author: Sjoerd Mullender (sjoerd) * (Python committer) Date: 2004-02-21 09:22
If you compare the documentation for the string.split
function and the split method on strings, you'll find
the former much clearer in the description of what
happens with a None separator argument.  The doc
strings of both are like the method, not terribly precise.

It may be worth it to compare other string methods /
string module functions.
msg20096 - (view) Author: George Yoshida (quiver) (Python committer) Date: 2004-02-22 00:13
Logged In: YES 
user_id=671362

This one is related to bug # 811604.
 "string".split behaviour for empty strings
 http://www.python.org/sf/811604

I think the doc change will also close the bug #811604.
msg20097 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-09-06 00:17
Logged In: YES 
user_id=80475

Fixed.  
See Doc/lib/libstdtypes.tex 1.164

Leaving the doc strings as is.  While not very precise, they
don't really warrant all the detail included in the main docs. 
History
Date User Action Args
2022-04-11 14:56:02adminsetgithub: 39967
2004-02-21 09:22:32sjoerdcreate