https://github.com/python/cpython/commit/c4e8196940bdf2eeb45692fb54741c507766bc74
commit: c4e8196940bdf2eeb45692fb54741c507766bc74
branch: main
author: Виталий Дмитриев <[email protected]>
committer: barneygale <[email protected]>
date: 2024-08-06T18:38:33+01:00
summary:
Fix duplicated words 'begins with a' in pathlib docstring (#122732)
files:
M Lib/pathlib/_abc.py
diff --git a/Lib/pathlib/_abc.py b/Lib/pathlib/_abc.py
index c32e7762cefea3..ee903177aa10d4 100644
--- a/Lib/pathlib/_abc.py
+++ b/Lib/pathlib/_abc.py
@@ -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()'))
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]