We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e596130 commit 7cd07f1Copy full SHA for 7cd07f1
Lib/pathlib/__init__.py
@@ -53,7 +53,7 @@ class UnsupportedOperation(NotImplementedError):
53
pass
54
55
56
-class _PathParents(Sequence):
+class _PathParents(Sequence["PurePath"]):
57
"""This object provides sequence-like access to the logical ancestors
58
of a path. Don't try to construct it yourself."""
59
__slots__ = ('_path', '_drv', '_root', '_tail')
0 commit comments