mirror of https://github.com/python/cpython.git
Small nits in os doc.
This commit is contained in:
parent
d60cd4295c
commit
b1a1ac0b67
|
@ -645,7 +645,7 @@ as internal buffering of data.
|
||||||
.. function:: closerange(fd_low, fd_high)
|
.. function:: closerange(fd_low, fd_high)
|
||||||
|
|
||||||
Close all file descriptors from *fd_low* (inclusive) to *fd_high* (exclusive),
|
Close all file descriptors from *fd_low* (inclusive) to *fd_high* (exclusive),
|
||||||
ignoring errors. Equivalent to::
|
ignoring errors. Equivalent to (but much faster than)::
|
||||||
|
|
||||||
for fd in range(fd_low, fd_high):
|
for fd in range(fd_low, fd_high):
|
||||||
try:
|
try:
|
||||||
|
@ -729,6 +729,7 @@ as internal buffering of data.
|
||||||
|
|
||||||
Availability: Unix, Windows.
|
Availability: Unix, Windows.
|
||||||
|
|
||||||
|
|
||||||
.. function:: fstatvfs(fd)
|
.. function:: fstatvfs(fd)
|
||||||
|
|
||||||
Return information about the filesystem containing the file associated with file
|
Return information about the filesystem containing the file associated with file
|
||||||
|
|
Loading…
Reference in New Issue