Skip to content

docs: use 'recursively' in the description of rglob, and mention globs in the os equivalences #94954

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

Merged
merged 2 commits into from
Jul 20, 2022

Conversation

nedbat
Copy link
Member

@nedbat nedbat commented Jul 18, 2022

The r in rglob stands for "recursively", so use the word in the description. Also, glob and rglob can usefully be mentioned as the pathlib equivalent of os.walk.

Automerge-Triggered-By: GH:brettcannon

@nedbat nedbat requested a review from brettcannon as a code owner July 18, 2022 10:51
@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Jul 18, 2022
@nedbat nedbat added docs Documentation in the Doc dir skip news skip issue and removed docs Documentation in the Doc dir skip news labels Jul 18, 2022
@miss-islington
Copy link
Contributor

Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 6e2fbda into python:main Jul 20, 2022
@miss-islington
Copy link
Contributor

Thanks @nedbat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington
Copy link
Contributor

Sorry @nedbat, I had trouble checking out the 3.11 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 6e2fbdab9220e20bc0e7f9e20987bb1e18532585 3.11

@miss-islington miss-islington self-assigned this Jul 20, 2022
@bedevere-bot
Copy link

GH-95071 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jul 20, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 20, 2022
…s in the os equivalences (pythonGH-94954)

The r in `rglob` stands for "recursively", so use the word in the description. Also, glob and rglob can usefully be mentioned as the pathlib equivalent of os.walk.

Automerge-Triggered-By: GH:brettcannon
(cherry picked from commit 6e2fbda)

Co-authored-by: Ned Batchelder <[email protected]>
@brettcannon
Copy link
Member

@nedbat do you care enough to try and fix the 3.11 backport failure? If you are I can leave the 3.10 PR open for merging. Otherwise I'm also fine making this a 3.12 improvement alone.

@nedbat
Copy link
Member Author

nedbat commented Jul 20, 2022

Let's just go with 3.12. Thanks.

@hauntsaninja hauntsaninja removed the needs backport to 3.11 only security fixes label Dec 24, 2022
@nedbat nedbat deleted the nedbat/rglob-docs branch May 15, 2023 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants