Skip to content

Commit d128edb

Browse files
hugovkmikeziminioblurb-it[bot]
authored
[3.12] gh-113238: add Anchor to importlib.resources (GH-113801) (#130499)
(cherry picked from commit c85c002) 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>
1 parent 4230697 commit d128edb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Lib/importlib/resources/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
as_file,
55
files,
66
Package,
7+
Anchor,
78
)
89

910
from ._legacy import (
@@ -22,6 +23,7 @@
2223

2324
__all__ = [
2425
'Package',
26+
'Anchor',
2527
'Resource',
2628
'ResourceReader',
2729
'as_file',
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add ``Anchor`` to ``importlib.resources`` (in order for the code to comply with the documentation)

0 commit comments

Comments
 (0)