homepage

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.

Author nirs
Recipients effbot, nirs
Date 2007年09月10日.22:32:47
SpamBayes Score 0.0
Marked as misclassified No
Message-id <1189463568.0.0.504496482363.issue1123@psf.upfronthosting.co.za>
In-reply-to
Content
I did not look into the source, but obviously there is striping of 
leading and trailing whitespace. 
When you specify a separator you get:
>>> ' '.split(' ')
['', '', '']
>>> ' a b '.split(' ')
['', 'a', 'b', '']
So one would expect to get this without striping:
>>> ' a b '.split()
['', 'a', 'b', '']
But you get this:
>>> ' a b '.split()
['a', 'b']
So the documentation is correct.
History
Date User Action Args
2009年03月09日 14:36:36georg.brandlsetspambayes_score: 0.67085 -> 0.0
2007年09月10日 22:32:48nirssetspambayes_score: 0.67085 -> 0.67085
recipients: + nirs, effbot
2007年09月10日 22:32:48nirssetspambayes_score: 0.67085 -> 0.67085
messageid: <1189463568.0.0.504496482363.issue1123@psf.upfronthosting.co.za>
2007年09月10日 22:32:47nirslinkissue1123 messages
2007年09月10日 22:32:47nirscreate

AltStyle によって変換されたページ (->オリジナル) /