mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
Add filters to stdlib/warnings.pyi (#5889)
This commit is contained in:
@@ -2,7 +2,7 @@ from typing import Any, Tuple, Type, overload
|
||||
|
||||
_defaultaction: str
|
||||
_onceregistry: dict[Any, Any]
|
||||
filters: list[Tuple[Any, ...]]
|
||||
filters: list[tuple[str, str | None, Type[Warning], str | None, int]]
|
||||
|
||||
@overload
|
||||
def warn(message: str, category: Type[Warning] | None = ..., stacklevel: int = ..., source: Any | None = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user