mirror of
https://github.com/python/cpython.git
synced 2024-12-01 05:45:40 +08:00
gh-113238: add Anchor to importlib.resources (#113801)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
This commit is contained in:
parent
04fabe22dd
commit
c85c0026a6
@ -4,6 +4,7 @@ from ._common import (
|
||||
as_file,
|
||||
files,
|
||||
Package,
|
||||
Anchor,
|
||||
)
|
||||
|
||||
from .abc import ResourceReader
|
||||
@ -11,6 +12,7 @@ from .abc import ResourceReader
|
||||
|
||||
__all__ = [
|
||||
'Package',
|
||||
'Anchor',
|
||||
'ResourceReader',
|
||||
'as_file',
|
||||
'files',
|
||||
|
@ -0,0 +1 @@
|
||||
Add ``Anchor`` to ``importlib.resources`` (in order for the code to comply with the documentation)
|
Loading…
Reference in New Issue
Block a user