mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
typing_extensions: add Self, Required, NotRequired (#6296)
This commit is contained in:
@@ -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