[ python-Bugs-901654 ] split method documentation can be improved

SourceForge.net noreply at sourceforge.net
Mon Sep 6 02:17:26 CEST 2004


Bugs item #901654, was opened at 2004-02-21 04:22
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=901654&group_id=5470

Category: Documentation
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Raymond Hettinger (rhettinger)
Summary: split method documentation can be improved

Initial Comment:
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.

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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2004-09-05 19:17

Message:
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. 

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

Comment By: George Yoshida (quiver)
Date: 2004-02-21 19:13

Message:
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.

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

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


More information about the Python-bugs-list mailing list