[3.12] gh-113238: add Anchor to importlib.resources (GH-113801) (#130499)

(cherry picked from commit c85c0026a6)

Co-authored-by: Mike Zimin <122507876+mikeziminio@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2025-03-08 18:27:34 +02:00 committed by GitHub
parent 4230697886
commit d128edb0ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@
as_file,
files,
Package,
Anchor,
)
from ._legacy import (
@ -22,6 +23,7 @@
__all__ = [
'Package',
'Anchor',
'Resource',
'ResourceReader',
'as_file',

View file

@ -0,0 +1 @@
Add ``Anchor`` to ``importlib.resources`` (in order for the code to comply with the documentation)