diff -r bb7b14dd5ded Doc/library/stdtypes.rst --- a/Doc/library/stdtypes.rst Mon Aug 29 09:37:07 2011 +0200 +++ b/Doc/library/stdtypes.rst Tue Aug 30 00:23:38 2011 -0400 @@ -1187,6 +1187,13 @@ breaks are not included in the resulting list unless *keepends* is given and true. + .. note:: + Python recognizes ``"\r"``, ``"\n"``, and ``"\r\n"`` as line boundaries + for strings. + + In addition to these, Unicode strings can have line boundaries of + ``u"\x0b"``, ``u"\x0c"``, ``u"\x85"``, ``u"\u2028"``, and ``u"\u2029"`` + .. method:: str.startswith(prefix[, start[, end]])