(dirname, dir_fd, dironly)
| 190 | return |
| 191 | |
| 192 | def _listdir(dirname, dir_fd, dironly): |
| 193 | with contextlib.closing(_iterdir(dirname, dir_fd, dironly)) as it: |
| 194 | return list(it) |
| 195 | |
| 196 | # Recursively yields relative pathnames inside a literal directory. |
| 197 | def _rlistdir(dirname, dir_fd, dironly, include_hidden=False): |