From e0bb99a7d073a412950ca02213e5cafecf164060 Mon Sep 17 00:00:00 2001 From: Mike Zimin Date: Mon, 8 Jan 2024 01:01:27 +0400 Subject: [PATCH 1/2] gh-113238: add Anchor to importlib.resources --- Lib/importlib/resources/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/importlib/resources/__init__.py b/Lib/importlib/resources/__init__.py index 34e3a9950cc557..a7a9ccb368f478 100644 --- a/Lib/importlib/resources/__init__.py +++ b/Lib/importlib/resources/__init__.py @@ -4,6 +4,7 @@ as_file, files, Package, + Anchor, ) from ._legacy import ( @@ -22,6 +23,7 @@ __all__ = [ 'Package', + 'Anchor', 'Resource', 'ResourceReader', 'as_file', From fe4a80184dc405b54cfadc37e9368ef36116f99c Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Sun, 7 Jan 2024 22:00:38 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Library/2024-01-07-22-00-37.gh-issue-113238.79lx9c.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2024-01-07-22-00-37.gh-issue-113238.79lx9c.rst diff --git a/Misc/NEWS.d/next/Library/2024-01-07-22-00-37.gh-issue-113238.79lx9c.rst b/Misc/NEWS.d/next/Library/2024-01-07-22-00-37.gh-issue-113238.79lx9c.rst new file mode 100644 index 00000000000000..9b22a2091cba21 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-01-07-22-00-37.gh-issue-113238.79lx9c.rst @@ -0,0 +1 @@ +add ``Anchor`` to ``importlib.resources`` (in order for the code to comply with the documentation)