Skip to content

Commit e21b884

Browse files
committed
Rely on python3.13 Generator defaults
1 parent 50a8f88 commit e21b884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/pathlib/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def walk(
305305
top_down: bool = True,
306306
on_error: Optional[Callable[[Exception], None]] = None,
307307
follow_symlinks: bool = False,
308-
) -> Generator[tuple[Self, list[str], list[str]], None, None]:
308+
) -> Generator[tuple[Self, list[str], list[str]]]:
309309
"""Walk the directory tree from this directory, similar to os.walk()."""
310310
paths = [self]
311311
while paths:

0 commit comments

Comments
 (0)