mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Resolve builtins/importlib inconsistencies (#6310)
This commit is contained in:
@@ -1443,6 +1443,7 @@ class zip(Iterator[_T_co], Generic[_T_co]):
|
||||
def __iter__(self) -> Iterator[_T_co]: ...
|
||||
def __next__(self) -> _T_co: ...
|
||||
|
||||
# Signature of `builtins.__import__` should be kept identical to `importlib.__import__`
|
||||
# Return type of `__import__` should be kept the same as return type of `importlib.import_module`
|
||||
def __import__(
|
||||
name: str,
|
||||
|
||||
Reference in New Issue
Block a user