mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add deprecated to typing_extensions (#9850)
This commit is contained in:
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user