diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 66faccac2ed..162b6927a83 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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']``.