We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pathlib.Path.iterdir
Right now it says:
cpython/Lib/pathlib.py
Lines 871 to 876 in e089f23
This part is confusing:
Does not yield any result for the special paths '.' and '..'
It might be understood as Path('.').iterdir() not yileding any results.
Path('.').iterdir()
I think, that it would be better to use the exact same wording as in docs: https://docs.python.org/3/library/pathlib.html#pathlib.Path.iterdir
the special entries '.' and '..' are not included.
I will send a PR.
The text was updated successfully, but these errors were encountered:
pythongh-98832: Change wording in pathlib.Path.iterdir
68a187a
gh-98832: Change wording in docstring of pathlib.Path.iterdir (GH-9…
87f5180
…8833) Found while working on #98829 Automerge-Triggered-By: GH:AlexWaygood
Thanks @sobolevn!
Sorry, something went wrong.
sobolevn
No branches or pull requests
Right now it says:
cpython/Lib/pathlib.py
Lines 871 to 876 in e089f23
This part is confusing:
It might be understood as
Path('.').iterdir()
not yileding any results.I think, that it would be better to use the exact same wording as in docs: https://docs.python.org/3/library/pathlib.html#pathlib.Path.iterdir
I will send a PR.
pathlib.Path.iterdir
#98833The text was updated successfully, but these errors were encountered: