mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Use the new `PathBase.scandir()` method in `PathBase.glob()`, which greatly reduces the number of `PathBase.stat()` calls needed when globbing. There are no user-facing changes, because the pathlib ABCs are still private and `Path.glob()` doesn't use the implementation in its superclass. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_pathlib.py | ||
| test_pathlib_abc.py | ||