[Patches] [ python-Patches-1108303 ] fix .split() maxsplit doc, update .rsplit() docs

SourceForge.net noreply at sourceforge.net
Mon Jan 24 13:52:12 CET 2005


Patches item #1108303, was opened at 2005-01-24 13:25
Message generated for change (Settings changed) made by calvin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1108303&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Wummel (calvin)
Assigned to: Nobody/Anonymous (nobody)
>Summary: fix .split() maxsplit doc, update .rsplit() docs

Initial Comment:
Hi,

this documentation patch for the .split() and .rsplit()
methods changes the following:
1) remove a superfluous dot in .split() method doc
2) Only if separator arg is _less than_ zero, the
number of splits is unlimited. If it is zero, the
number of splits is (correctly) zero. The "less than"
has been added.
3) The separator documentation of split() is copied
over to rsplit() documentation where it applies too.

The patch is against CVS from 20040123.


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

Comment By: Wummel (calvin)
Date: 2005-01-24 13:29

Message:
Logged In: YES 
user_id=9205

Argl, please replace any mention of "separator" above with
"maxsplit". Sorry for the confusion.

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

Comment By: Wummel (calvin)
Date: 2005-01-24 13:26

Message:
Logged In: YES 
user_id=9205

I also added appropriate test cases for split() and rsplit()
with negative separator argument.

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

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


More information about the Patches mailing list