Skip to content

Commit

Permalink
Fix duplicated words 'begins with a' in pathlib docstring (python#122732
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vitaldmit authored Aug 6, 2024
1 parent 58be1c2 commit c4e8196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/pathlib/_abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def splitdrive(self, path):

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

Expand Down

0 comments on commit c4e8196

Please sign in to comment.