[issue2809] string docstring doesn't mention that ' '.split() != ' '.split(' ')

2008-05-12 Thread David Fraser
David Fraser <[EMAIL PROTECTED]> added the comment: Yes that's fantastic, thanks :-) __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue2809] string docstring doesn't mention that ' '.split() != ' '.split(' ')

2008-05-11 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Okay, r63092 should satisfy you then. :) __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list maili

[issue2809] string docstring doesn't mention that ' '.split() != ' '.split(' ')

2008-05-11 Thread David Fraser
David Fraser <[EMAIL PROTECTED]> added the comment: I don't think this really addresses the issue properly... The original docstring read: +Note that not specifying sep (or using None) will cause\n\ +empty strings to be removed from the output. thus ' '.strip()\n\ +returns []. while ' '.strip('

[issue2809] string docstring doesn't mention that ' '.split() != ' '.split(' ')

2008-05-11 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed a different (shorter) docstring change to the same effect as r63050. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue2809] string docstring doesn't mention that ' '.split() != ' '.split(' ')

2008-05-10 Thread Neil Muller
Changes by Neil Muller <[EMAIL PROTECTED]>: -- assignee: -> georg.brandl components: +Documentation nosy: +georg.brandl versions: +Python 2.6 __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2809] string docstring doesn't mention that ' '.split() != ' '.split(' ')

2008-05-10 Thread Neil Muller
New submission from Neil Muller <[EMAIL PROTECTED]>: split with no sep specified will not return an empty string, whereas split with sep specified will. The attached patch updates the docstring to reflect this for str.split and unicode.split. -- files: split_docstring.diff keywords: pa