mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-12 16:10:12 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
1 parent
f94bbfbcc4
commit
88fa182253
97 files changed
+625
-632
No files matched your search
@@ -19,7 +19,7 @@ class ClassicAdapter:
|
||||
def __call__(self, wrapped: _F) -> Callable[[_F], _F]: ...
|
||||
|
||||
@overload
|
||||
def deprecated(__wrapped: _F) -> _F: ...
|
||||
def deprecated(wrapped: _F, /) -> _F: ...
|
||||
@overload
|
||||
def deprecated(
|
||||
reason: str = ..., *, version: str = ..., action: _Actions | None = ..., category: type[Warning] | None = ...
|
||||
|
||||
Reference in new issue
Block a user