mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Remove all mention of 'module' from typeshed. (#1156)
This depends on python/mypy#3107.
This commit is contained in:
committed by
Jelle Zijlstra
parent
f543ddd89a
commit
359c8cc313
@@ -9,6 +9,7 @@ from typing import (
|
||||
overload, Set, FrozenSet, TypeVar, Union, Pattern, Type
|
||||
)
|
||||
from abc import abstractmethod, ABCMeta
|
||||
import types
|
||||
|
||||
_T = TypeVar('_T')
|
||||
_FT = TypeVar('_FT')
|
||||
@@ -173,4 +174,4 @@ def main(module: str = ..., defaultTest: str = ...,
|
||||
testLoader: Any = ...) -> None: ... # TODO types
|
||||
|
||||
# private but occasionally used
|
||||
util = ... # type: module
|
||||
util = ... # type: types.ModuleType
|
||||
|
||||
Reference in New Issue
Block a user