-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
bpo-25461: Update os.walk() docstring to match the online docs #11836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for your contribution, we look forward to reviewing it! |
I completed the CLA process just now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm sorry, but I don't notice an improve here. The idea is the same with different words.
Sometime docstring and docs differ on words.
But it would be great listen other opinions. :-)
This change has been discussed on bpo (https://bugs.python.org/issue25461#msg253377):
The wording change in the online docs were done from a patch on that issue. For os.walk() the online docs and docstring were more or less equal, so it makes little sense to change the wording of one of them and not the other. IIRC, the patch for os.py was added to the issue after the changes to os.rst had been merged. |
|
Could someone add the 'skip news' label, please? |
|
Thanks @codeape2 for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
pythonGH-11836) (cherry picked from commit 734f120) Co-authored-by: Bernt Røskar Brenna <[email protected]>
|
GH-15843 is a backport of this pull request to the 3.8 branch. |
pythonGH-11836) (cherry picked from commit 734f120) Co-authored-by: Bernt Røskar Brenna <[email protected]>
|
GH-15844 is a backport of this pull request to the 3.7 branch. |
GH-11836) (cherry picked from commit 734f120) Co-authored-by: Bernt Røskar Brenna <[email protected]>
GH-11836) (cherry picked from commit 734f120) Co-authored-by: Bernt Røskar Brenna <[email protected]>
https://bugs.python.org/issue25461