diff -r fff0c783d3db Doc/library/stdtypes.rst --- a/Doc/library/stdtypes.rst Wed May 11 22:25:31 2016 +0300 +++ b/Doc/library/stdtypes.rst Tue May 31 23:01:31 2016 +0200 @@ -1874,8 +1874,9 @@ breaks are not included in the resulting list unless *keepends* is given and true. - This method splits on the following line boundaries. In particular, the - boundaries are a superset of :term:`universal newlines`. + If the string is a :class:`bytes` object this method splits on the following + boundaries. The :term:`universal newlines` approach to splitting lines is + used. +-----------------------+-----------------------------+ | Representation | Description | @@ -1886,6 +1887,14 @@ +-----------------------+-----------------------------+ | ``\r\n`` | Carriage Return + Line Feed | +-----------------------+-----------------------------+ + + Otherwise, If the string is :class:`str` object this method additionally splits + on the following line boundaries. The boundaries are a superset of + :term:`universal newlines`. + + +-----------------------+-----------------------------+ + | Representation | Description | + +=======================+=============================+ | ``\v`` or ``\x0b`` | Line Tabulation | +-----------------------+-----------------------------+ | ``\f`` or ``\x0c`` | Form Feed |