mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Add _warnings.pyi
This commit is contained in:
11
builtins/2.7/_warnings.pyi
Normal file
11
builtins/2.7/_warnings.pyi
Normal 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: ...
|
||||
Reference in New Issue
Block a user