(dirname, dir_fd, dironly)
| 174 | return |
| 175 | |
| 176 | def _listdir(dirname, dir_fd, dironly): |
| 177 | with contextlib.closing(_iterdir(dirname, dir_fd, dironly)) as it: |
| 178 | return list(it) |
| 179 | |
| 180 | # Recursively yields relative pathnames inside a literal directory. |
| 181 | def _rlistdir(dirname, dir_fd, dironly, include_hidden=False): |