File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 88from typing import TYPE_CHECKING
99from typing import Any
1010from typing import BinaryIO
11- from typing import Callable
1211from typing import Literal
1312from typing import Protocol
1413from typing import TextIO
@@ -131,9 +130,9 @@ class CompatReadablePath(CompatJoinablePath, Protocol):
131130 # not available in Python 3.9.* pathlib:
132131 # - `__open_rb__`
133132 # - `info`
134- # - `readlink`
135133 # - `copy`
136134 # - `copy_into`
135+ # - `walk`
137136 __slots__ = ()
138137
139138 def read_bytes (self ) -> bytes : ...
@@ -149,13 +148,6 @@ def iterdir(self) -> Iterator[Self]: ...
149148
150149 def glob (self , pattern : str , * , recurse_symlinks : bool = ...) -> Iterator [Self ]: ...
151150
152- def walk (
153- self ,
154- top_down : bool = ...,
155- on_error : Callable [[Exception ], Any ] | None = ...,
156- follow_symlinks : bool = ...,
157- ) -> Iterator [Self ]: ...
158-
159151 def readlink (self ) -> Self : ...
160152
161153
You can’t perform that action at this time.
0 commit comments