mirror of https://github.com/python/cpython
#14957: fix doc typo.
This commit is contained in:
parent
aad5b02e62
commit
de738a1b82
|
@ -1190,7 +1190,7 @@ string functions based on regular expressions.
|
|||
the returned list does ``not`` have an empty last element.
|
||||
|
||||
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']``.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue