Issue #23605: Fix typo in an os.walk() comment

Thanks Ben Hoyt for the report.
This commit is contained in:
Victor Stinner 2015-03-30 11:54:05 +02:00
parent 81c6df5c0f
commit 5fdde71cce
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ def walk(top, topdown=True, onerror=None, followlinks=False):
is_symlink = entry.is_symlink() is_symlink = entry.is_symlink()
except OSError: except OSError:
# If is_symlink() raises an OSError, consider that the # If is_symlink() raises an OSError, consider that the
# entry is not a symbolik link, same behaviour than # entry is not a symbolic link, same behaviour than
# os.path.islink(). # os.path.islink().
is_symlink = False is_symlink = False
walk_into = not is_symlink walk_into = not is_symlink