mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
typing_extensions: add Self, Required, NotRequired (#6296)
This commit is contained in:
1 parent
88f86a0180
commit
0860a911e9
1 file changed
+3
@@ -43,6 +43,9 @@ def runtime_checkable(cls: _TC) -> _TC: ...
|
||||
runtime = runtime_checkable
|
||||
Protocol: _SpecialForm = ...
|
||||
Final: _SpecialForm = ...
|
||||
Self: _SpecialForm = ...
|
||||
Required: _SpecialForm = ...
|
||||
NotRequired: _SpecialForm = ...
|
||||
|
||||
def final(f: _F) -> _F: ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user