Add _warnings.pyi

This commit is contained in:
Matthias Kramm
2015-09-21 15:06:51 -07:00
parent 35686d817a
commit 2adf05eec7

View File

@@ -0,0 +1,11 @@
from typing import Any
default_action = ... # type: str
filters = ... # type: List[tuple]
once_registry = ... # type: dict
def warn(message: Warning, category:type = ..., stacklevel:int = ...) -> None: ...
def warn_explicit(message: Warning, category:type,
filename: str, lineno: int,
module:Any = ..., registry:dict = ...,
module_globals:dict = ...) -> None: ...