summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2012-01-10 19:25:09 (GMT)
committerCharles-François Natali <neologix@free.fr>2012-01-10 19:25:09 (GMT)
commit76961faaa0323580caac8068848c33b7aeec13ee (patch)
tree3ee6487ceb4e3c4674aabd0f92d7e06a1a09c09e /Doc/library
parentbda7a80194849eb2797c8bbffdbbaccad36d4583 (diff)
downloadcpython-76961faaa0323580caac8068848c33b7aeec13ee.zip
cpython-76961faaa0323580caac8068848c33b7aeec13ee.tar.gz
cpython-76961faaa0323580caac8068848c33b7aeec13ee.tar.bz2
Issue #13757: Change os.fdlistdir() so that it duplicates the passed file
descriptor (instead of closing it).
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/os.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 53f5025..0c0d681 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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.