diff options
| author | Georg Brandl <georg@python.org> | 2009-09-01 07:34:27 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-09-01 07:34:27 +0000 |
| commit | c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c (patch) | |
| tree | 3114451bc01e7afc34d3d84369a0b77ba5d332ae /Doc/library | |
| parent | a4c05a26a72d3613d9ffbdcc0985a9ec49060b73 (diff) | |
| download | cpython-git-c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c.tar.gz | |
#6814: remove traces of xrange().
Diffstat (limited to 'Doc/library')
| -rw-r--r-- | Doc/library/os.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 206a15ca34..2548b70966 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -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: |
