diff options
author | Виталий Дмитриев <vitaldmit@bk.ru> | 2024-08-06 17:38:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 17:38:33 (GMT) |
commit | c4e8196940bdf2eeb45692fb54741c507766bc74 (patch) | |
tree | 0db189bc6c3551b1c787cdbe5df82b8452346ab9 /Lib | |
parent | 58be1c270f2275603e56127791fa6777476954ec (diff) | |
download | cpython-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.py | 2 |
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()')) |