Add deprecated to typing_extensions (#9850)

This commit is contained in:
Lucina
2023-03-06 19:24:36 +00:00
committed by GitHub
parent 14b06ae672
commit 81f2f22a03

View File

@@ -70,6 +70,7 @@ __all__ = [
"assert_never",
"assert_type",
"dataclass_transform",
"deprecated",
"final",
"IntVar",
"is_typeddict",
@@ -326,3 +327,4 @@ class TypeVarTuple:
def __iter__(self) -> Any: ... # Unpack[Self]
def override(__arg: _F) -> _F: ...
def deprecated(__msg: str, *, category: type[Warning] | None = ..., stacklevel: int = 1) -> Callable[[_T], _T]: ...