mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
#6814: remove traces of xrange().
This commit is contained in:
parent
a4c05a26a7
commit
c9a5a0e165
5 changed files with 8 additions and 11 deletions
|
@ -396,7 +396,7 @@ by file descriptors.
|
|||
Close all file descriptors from *fd_low* (inclusive) to *fd_high* (exclusive),
|
||||
ignoring errors. Availability: Unix, Windows. Equivalent to::
|
||||
|
||||
for fd in xrange(fd_low, fd_high):
|
||||
for fd in range(fd_low, fd_high):
|
||||
try:
|
||||
os.close(fd)
|
||||
except OSError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue