Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c4e8196

Browse files
authored
Fix duplicated words 'begins with a' in pathlib docstring (#122732)
1 parent 58be1c2 commit c4e8196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/pathlib/_abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def splitdrive(self, path):
6363

6464
def splitext(self, path):
6565
"""Split the path into a pair (root, ext), where *ext* is empty or
66-
begins with a begins with a period and contains at most one period,
66+
begins with a period and contains at most one period,
6767
and *root* is everything before the extension."""
6868
raise UnsupportedOperation(self._unsupported_msg('splitext()'))
6969

0 commit comments

Comments
 (0)