mirror of https://github.com/python/cpython
a7aa7c41eb
GH-119169: Implement `pathlib.Path.walk()` using `os.walk()` (GH-119573)
For silly reasons, pathlib's generic implementation of `walk()` currently
resides in `glob._Globber`. This commit moves it into
`pathlib._abc.PathBase.walk()` where it really belongs, and makes
`pathlib.Path.walk()` call `os.walk()`.
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
_abc.py | ||
_local.py |