]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-127541: Update os.walk example (GH-127765) (#131873)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 29 Mar 2025 10:34:35 +0000 (11:34 +0100)
committerGitHub <noreply@github.com>
Sat, 29 Mar 2025 10:34:35 +0000 (10:34 +0000)
commit3cd04d47ddaabe5c09957d348474d863d9f93649
tree7d5fc546abef6db88aa91946a33f03b8c27cb140
parentdfb63723d2a1816cd447db876751cc2982563674
[3.12] gh-127541: Update os.walk example (GH-127765) (#131873)

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