We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1871a commit 6709051Copy full SHA for 6709051
stdlib/importlib/resources.pyi
@@ -19,5 +19,7 @@ if sys.version_info >= (3, 7):
19
def contents(package: Package) -> Iterator[str]: ...
20
21
if sys.version_info >= (3, 9):
22
+ from contextlib import AbstractContextManager
23
from importlib.abc import Traversable
24
def files(package: Package) -> Traversable: ...
25
+ def as_file(path: Traversable) -> AbstractContextManager[Path]: ...
0 commit comments