mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-11 05:52:53 +08:00
clean up builtins/3/_warnings.pyi
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
"""Stub file for the '_warnings' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
from typing import Any
|
||||
|
||||
from typing import Any, List, Tuple, Dict, Generic
|
||||
_defaultaction = ... # type: str
|
||||
_onceregistry = ... # type: dict
|
||||
filters = ... # type: List[tuple]
|
||||
|
||||
def _filters_mutated() -> None: ...
|
||||
|
||||
def warn(message, *args, **kwargs) -> None: ...
|
||||
|
||||
def warn_explicit(message, category, filename: str, lineno: int, *args, **kwargs) -> None: ...
|
||||
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