mirror of https://github.com/python/cpython
Fix duplicated words 'begins with a' in pathlib docstring (#122732)
This commit is contained in:
parent
58be1c270f
commit
c4e8196940
|
@ -63,7 +63,7 @@ class ParserBase:
|
||||||
|
|
||||||
def splitext(self, path):
|
def splitext(self, path):
|
||||||
"""Split the path into a pair (root, ext), where *ext* is empty or
|
"""Split the path into a pair (root, ext), where *ext* is empty or
|
||||||
begins with a begins with a period and contains at most one period,
|
begins with a period and contains at most one period,
|
||||||
and *root* is everything before the extension."""
|
and *root* is everything before the extension."""
|
||||||
raise UnsupportedOperation(self._unsupported_msg('splitext()'))
|
raise UnsupportedOperation(self._unsupported_msg('splitext()'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue