]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-127541: Update os.walk example (GH-127765) (GH-131869)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 29 Mar 2025 06:49:15 +0000 (07:49 +0100)
committerGitHub <noreply@github.com>
Sat, 29 Mar 2025 06:49:15 +0000 (06:49 +0000)
commit9ffa80f21edcfec5092388b8b7f3cc7dd29692bb
treee2bdd0550b98241d292436afdf6bfa19b00856d3
parent1059b0cc8411f82233b729f31f524d60f36d8b30
[3.13] gh-127541: Update os.walk example (GH-127765) (GH-131869)

gh-127541: Update os.walk example (GH-127765)

Update os.walk example to be more modern, skip `__pycache__` dirs rather than `CVS` dirs.
(cherry picked from commit a5949986d631391d37b1b329ad8badcf2000f9a9)

Co-authored-by: Totosuki <116938397+totosuki@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Doc/library/os.rst
Lib/os.py