mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Add __all__ to most modules beginning with 'n', 'o' and 'p' (#7345)
This commit is contained in:
1 parent
09c945b32b
commit
d6ce3abd68
20 files changed
+377
-2
No files matched your search
@@ -3,6 +3,21 @@ from _typeshed import SupportsRead
|
||||
from importlib.abc import Loader, MetaPathFinder, PathEntryFinder
|
||||
from typing import IO, Any, Callable, Iterable, Iterator, NamedTuple
|
||||
|
||||
__all__ = [
|
||||
"get_importer",
|
||||
"iter_importers",
|
||||
"get_loader",
|
||||
"find_loader",
|
||||
"walk_packages",
|
||||
"iter_modules",
|
||||
"get_data",
|
||||
"ImpImporter",
|
||||
"ImpLoader",
|
||||
"read_code",
|
||||
"extend_path",
|
||||
"ModuleInfo",
|
||||
]
|
||||
|
||||
class ModuleInfo(NamedTuple):
|
||||
module_finder: MetaPathFinder | PathEntryFinder
|
||||
name: str
|
||||
|
||||
Reference in new issue
Block a user