> On Jun 2, 2012 6:21 AM, "r.david.murray" <[email protected]> wrote:
>> +   For example, ``'ab c\n\nde fg\rkl\r\n'.splitlines()`` returns
>> +   ``['ab c', '', 'de fg', 'kl']``, while the same call with
>> ``splinelines(True)``
>> +   returns ``['ab c\n', '\n, 'de fg\r', 'kl\r\n']``

Wouldn't that be better written as a doctest and so avoid any other typos?

Sam
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to