https://github.com/python/cpython/commit/c85c0026a64c2a902138feeb73a9c66af1af31e0
commit: c85c0026a64c2a902138feeb73a9c66af1af31e0
branch: main
author: Mike Zimin <[email protected]>
committer: FFY00 <[email protected]>
date: 2024-01-16T10:55:59Z
summary:

gh-113238: add Anchor to importlib.resources (#113801)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>

files:
A Misc/NEWS.d/next/Library/2024-01-07-23-31-44.gh-issue-113238.wFWBfW.rst
M Lib/importlib/resources/__init__.py

diff --git a/Lib/importlib/resources/__init__.py 
b/Lib/importlib/resources/__init__.py
index e6b60c18caa052..ae83cd07c4d4fb 100644
--- a/Lib/importlib/resources/__init__.py
+++ b/Lib/importlib/resources/__init__.py
@@ -4,6 +4,7 @@
     as_file,
     files,
     Package,
+    Anchor,
 )
 
 from .abc import ResourceReader
@@ -11,6 +12,7 @@
 
 __all__ = [
     'Package',
+    'Anchor',
     'ResourceReader',
     'as_file',
     'files',
diff --git 
a/Misc/NEWS.d/next/Library/2024-01-07-23-31-44.gh-issue-113238.wFWBfW.rst 
b/Misc/NEWS.d/next/Library/2024-01-07-23-31-44.gh-issue-113238.wFWBfW.rst
new file mode 100644
index 00000000000000..51b4d144a94e6d
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-01-07-23-31-44.gh-issue-113238.wFWBfW.rst
@@ -0,0 +1 @@
+Add ``Anchor`` to ``importlib.resources`` (in order for the code to comply 
with the documentation)

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to