Fix duplicated words 'begins with a' in pathlib docstring (#122732)

This commit is contained in:
Виталий Дмитриев 2024-08-06 20:38:33 +03:00 committed by GitHub
parent 58be1c270f
commit c4e8196940
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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()'))