mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Add __all__ for modules beginning with 'e', 'f' and 'g' (#7325)
This commit is contained in:
@@ -2,6 +2,21 @@ import sys
|
||||
from _typeshed import Self, StrOrBytesPath
|
||||
from typing import IO, Any, AnyStr, Callable, Generic, Iterable, Iterator
|
||||
|
||||
__all__ = [
|
||||
"input",
|
||||
"close",
|
||||
"nextfile",
|
||||
"filename",
|
||||
"lineno",
|
||||
"filelineno",
|
||||
"fileno",
|
||||
"isfirstline",
|
||||
"isstdin",
|
||||
"FileInput",
|
||||
"hook_compressed",
|
||||
"hook_encoded",
|
||||
]
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
from types import GenericAlias
|
||||
|
||||
|
||||
Reference in New Issue
Block a user