Skip to content

Commit d768f3c

Browse files
committed
Merge branch 'maint/5.0' of https://github.com/python/importlib_resources into maint/5.0
2 parents c69bda5 + 31e83e1 commit d768f3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

importlib_resources/_common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
import importlib
88

99
from typing import Union, Any, Optional
10-
from .abc import ResourceReader
10+
from .abc import ResourceReader, Traversable
1111

1212
from ._compat import wrap_spec
1313

1414
Package = Union[types.ModuleType, str]
1515

1616

1717
def files(package):
18+
# type: (Package) -> Traversable
1819
"""
1920
Get a Traversable resource from a package
2021
"""

0 commit comments

Comments
 (0)