]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #23605: Fix typo in an os.walk() comment
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 30 Mar 2015 09:54:05 +0000 (11:54 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 30 Mar 2015 09:54:05 +0000 (11:54 +0200)
Thanks Ben Hoyt for the report.

Lib/os.py

index e5934dad1deb1a71f8f2f5bd5a98c9579a6450bc..90beab9b74cb2e27f13b0831275a795663f69fe2 100644 (file)
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -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