typing_extensions: add Self, Required, NotRequired (#6296)

This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2021-11-14 23:45:35 +01:00
1 parent 88f86a0180
commit 0860a911e9
1 file changed
+3
+3
View File
@@ -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: ...