diff options
author | Charles-François Natali <neologix@free.fr> | 2012-02-06 18:54:48 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2012-02-06 18:54:48 (GMT) |
commit | 77940902512c85e2d09dd5bd913084dc547881ff (patch) | |
tree | 8bf5109d39f6439057c837ad66e3e6347217dd4e /Lib/os.py | |
parent | 9878b63c7c70b33ea21cd06a2c30ca1344962f02 (diff) | |
download | cpython-77940902512c85e2d09dd5bd913084dc547881ff.zip cpython-77940902512c85e2d09dd5bd913084dc547881ff.tar.gz cpython-77940902512c85e2d09dd5bd913084dc547881ff.tar.bz2 |
Following Nick's suggestion, rename posix.fdlistdir() to posix.flistdir(), to
be consistent with other functions accepting file descriptors (fdlistdir() was
added in 3.3, so hasn't been released yet).
Diffstat (limited to 'Lib/os.py')
-rw-r--r-- | Lib/os.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -357,7 +357,7 @@ if _exists("openat"): # whether to follow symlinks flag = 0 if followlinks else AT_SYMLINK_NOFOLLOW - names = fdlistdir(topfd) + names = flistdir(topfd) dirs, nondirs = [], [] for name in names: # Here, we don't use AT_SYMLINK_NOFOLLOW to be consistent with |