Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 89fd5e9

Browse filesBrowse files
committed
Merge branch 'maint/5.0' into cpython
2 parents c17a610 + d768f3c commit 89fd5e9
Copy full SHA for 89fd5e9

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎Lib/importlib/_common.py

Copy file name to clipboardExpand all lines: Lib/importlib/_common.py
+2-1Lines 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 ._adapters 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.