-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
gh-107732: Mention dir support in importlib.resources docs #107734
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
5b8a601 to
1ffa82b
Compare
1ffa82b to
50f2397
Compare
50f2397 to
2bb2da7
Compare
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
By the way, wouldn't it be appropriate to also mention this new capability of |
|
Yep, we should add an entry to What's New. Are you happy to add it to this PR? A |
|
Sure 👍 I added it. |
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
Thanks @smheidrich for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
|
Sorry, @smheidrich and @hugovk, I could not cleanly backport this to |
…hon#107734) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit 9f0c0a4)
…hon#107734) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit 9f0c0a4)
|
GH-109058 is a backport of this pull request to the 3.12 branch. |
…-107734) (#109058) gh-107732: Mention dir support in importlib.resources docs (#107734) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit 9f0c0a4) Co-authored-by: Shahriar Heidrich <smheidrich@weltenfunktion.de>
Suggestion for how to point out
importlib.resources.as_file()'s support for whole directories as resources in its docs.📚 Documentation preview 📚: https://cpython-previews--107734.org.readthedocs.build/