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).
This commit is contained in:
Charles-François Natali 2012-02-06 19:54:48 +01:00
parent 9878b63c7c
commit 7794090251
7 changed files with 15 additions and 15 deletions

View file

@ -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