[issue15554] correct and clarify str.splitlines() documentation

Chris Jerdonek report at bugs.python.org
Mon Aug 6 20:10:36 CEST 2012


Chris Jerdonek added the comment:

> I think the problem really is that 'split' has such radically different behavior when given an argument as opposed to when it isn't.

Yep, the split() documentation is much more involved because of that.

> Please move the keeplines discussion back up into the initial paragraph, and then I think we'll be good to go.

Sounds good.  Would you also like me to move the example before the paragraph about differences, or should I leave the example at the end?

Mention of the example may flow better after the keepends discussion, because the example is more about keepends rather than about the differences with split().  But it can go either way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15554>
_______________________________________


More information about the Python-bugs-list mailing list