DOC: Fix typo in os.fwalk() example#138486
Merged
ZeroIntensity merged 1 commit intopython:mainfrom Sep 4, 2025
Merged
Conversation
Missing space; see `os.walk()` example.
os.fwalk() exampleos.fwalk() example
StanFromIreland
approved these changes
Sep 4, 2025
ZeroIntensity
approved these changes
Sep 4, 2025
|
Thanks @wjandrea for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Sep 4, 2025
(cherry picked from commit 849a80e) Co-authored-by: William Andrea <22385371+wjandrea@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Sep 4, 2025
(cherry picked from commit 849a80e) Co-authored-by: William Andrea <22385371+wjandrea@users.noreply.github.com>
|
GH-138500 is a backport of this pull request to the 3.14 branch. |
|
GH-138501 is a backport of this pull request to the 3.13 branch. |
lkollar
pushed a commit
to lkollar/cpython
that referenced
this pull request
Sep 9, 2025
hugovk
pushed a commit
that referenced
this pull request
Sep 11, 2025
Co-authored-by: William Andrea <22385371+wjandrea@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Missing space; see
os.walk()example.To clarify, the output should look like this:
. consumes 25366 bytes in 24 non-directory files(and that's what theos.walk()example produces)But because of the typo, it looks like this:
. consumes25366bytes in 24 non-directory files📚 Documentation preview 📚: https://cpython-previews--138486.org.readthedocs.build/
Specifically: https://cpython-previews--138486.org.readthedocs.build/en/138486/library/os.html#os.fwalk