diff options
author | Barney Gale <barney.gale@gmail.com> | 2022-01-20 19:20:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 19:20:00 (GMT) |
commit | a1c88414926610a3527398a478c3e63c531dc742 (patch) | |
tree | ead32e529a7c68659940cc32e2e58d24d1ace41d /Python/fileutils.c | |
parent | c02e860ee79f29905be6fca997c96bb1a404bb32 (diff) | |
download | cpython-a1c88414926610a3527398a478c3e63c531dc742.zip cpython-a1c88414926610a3527398a478c3e63c531dc742.tar.gz cpython-a1c88414926610a3527398a478c3e63c531dc742.tar.bz2 |
bpo-46316: optimize `pathlib.Path.iterdir()` (GH-30501)
`os.listdir()` doesn't return entries for `.` or `..`, so we don't need to
check for them here.
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions