mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
#14957: fix doc typo.
This commit is contained in:
commit
f4b26ef250
1 changed files with 1 additions and 1 deletions
|
|
@ -1358,7 +1358,7 @@ functions based on regular expressions.
|
||||||
the returned list does ``not`` have an empty last element.
|
the returned list does ``not`` have an empty last element.
|
||||||
|
|
||||||
For example, ``'ab c\n\nde fg\rkl\r\n'.splitlines()`` returns
|
For example, ``'ab c\n\nde fg\rkl\r\n'.splitlines()`` returns
|
||||||
``['ab c', '', 'de fg', 'kl']``, while the same call with ``splinelines(True)``
|
``['ab c', '', 'de fg', 'kl']``, while the same call with ``splitlines(True)``
|
||||||
returns ``['ab c\n', '\n, 'de fg\r', 'kl\r\n']``.
|
returns ``['ab c\n', '\n, 'de fg\r', 'kl\r\n']``.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue