Message161885
| Author |
r.david.murray |
| Recipients |
amaury.forgeotdarc, brandjon, chris.jerdonek, dontknow, elsdoerfer, ezberch, georg.brandl, ncoghlan, r.david.murray, rutsky |
| Date |
2012年05月29日.14:21:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1338301289.91.0.408353362369.issue13857@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Why would you expect it to?
>>> 'a\nb'.splitlines()
['a', 'b']
>>> 'a\nb\n'.splitlines()
['a', 'b']
>>> 'a\nb\n\n'.splitlines()
['a', 'b', '']
That's exactly what I would intuitively expect, and I don't see how it could possibly do anything else. |
|