summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorВиталий Дмитриев <vitaldmit@bk.ru>2024-08-06 17:38:33 (GMT)
committerGitHub <noreply@github.com>2024-08-06 17:38:33 (GMT)
commitc4e8196940bdf2eeb45692fb54741c507766bc74 (patch)
tree0db189bc6c3551b1c787cdbe5df82b8452346ab9 /Lib
parent58be1c270f2275603e56127791fa6777476954ec (diff)
downloadcpython-c4e8196940bdf2eeb45692fb54741c507766bc74.zip
cpython-c4e8196940bdf2eeb45692fb54741c507766bc74.tar.gz
cpython-c4e8196940bdf2eeb45692fb54741c507766bc74.tar.bz2
Fix duplicated words 'begins with a' in pathlib docstring (#122732)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/pathlib/_abc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pathlib/_abc.py b/Lib/pathlib/_abc.py
index c32e776..ee90317 100644
--- a/Lib/pathlib/_abc.py
+++ b/Lib/pathlib/_abc.py
@@ -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()'))