Commit 5fdde71c authored by Victor Stinner's avatar Victor Stinner

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

Thanks Ben Hoyt for the report.
parent 81c6df5c
......@@ -402,7 +402,7 @@ def walk(top, topdown=True, onerror=None, followlinks=False):
is_symlink = entry.is_symlink()
except OSError:
# 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().
is_symlink = False
walk_into = not is_symlink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment