mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Fix duplicated words 'begins with a' in pathlib docstring (#122732)
This commit is contained in:
parent
58be1c270f
commit
c4e8196940
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class ParserBase:
|
|||
|
||||
def splitext(self, path):
|
||||
"""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."""
|
||||
raise UnsupportedOperation(self._unsupported_msg('splitext()'))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue