Mostly-null-merge from 3.4 branch following 3.4.2 release.
This commit is contained in:
commit
c78319d9b8
1
.hgtags
1
.hgtags
|
@ -137,3 +137,4 @@ a300712ed38c9a242b736c44e806caea25a6dc05 v3.4.0rc2
|
|||
c67a19e11a7191baf30f313bf55e2e0b6c6f574e v3.4.1rc1
|
||||
c0e311e010fcb5bae8d87ca22051cd0845ea0ca0 v3.4.1
|
||||
8711a09513848cfc48c689d983495ee64f4668ca v3.4.2rc1
|
||||
ab2c023a9432f16652e89c404bbc84aa91bf55af v3.4.2
|
||||
|
|
|
@ -1864,7 +1864,7 @@ expression support in the :mod:`re` module).
|
|||
For example::
|
||||
|
||||
>>> 'ab c\n\nde fg\rkl\r\n'.splitlines()
|
||||
['ab c', '', 'de fg', 'kl']``
|
||||
['ab c', '', 'de fg', 'kl']
|
||||
>>> 'ab c\n\nde fg\rkl\r\n'.splitlines(keepends=True)
|
||||
['ab c\n', '\n', 'de fg\r', 'kl\r\n']
|
||||
|
||||
|
@ -2932,7 +2932,7 @@ place, and instead produce new objects.
|
|||
For example::
|
||||
|
||||
>>> b'ab c\n\nde fg\rkl\r\n'.splitlines()
|
||||
[b'ab c', b'', b'de fg', b'kl']``
|
||||
[b'ab c', b'', b'de fg', b'kl']
|
||||
>>> b'ab c\n\nde fg\rkl\r\n'.splitlines(keepends=True)
|
||||
[b'ab c\n', b'\n', b'de fg\r', b'kl\r\n']
|
||||
|
||||
|
|
Loading…
Reference in New Issue