mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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:
parent
9878b63c7c
commit
7794090251
7 changed files with 15 additions and 15 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue