mirror of
https://github.com/python/cpython.git
synced 2025-10-27 16:57:08 +00:00
Issue #13757: Change os.fdlistdir() so that it duplicates the passed file
descriptor (instead of closing it).
This commit is contained in:
parent
bda7a80194
commit
76961faaa0
3 changed files with 8 additions and 11 deletions
|
|
@ -772,7 +772,7 @@ as internal buffering of data.
|
|||
.. function:: fdlistdir(fd)
|
||||
|
||||
Like :func:`listdir`, but uses a file descriptor instead and always returns
|
||||
strings. After execution of this function, *fd* will be closed.
|
||||
strings.
|
||||
|
||||
Availability: Unix.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue