From 0860a911e98c62e450e8d0ef9c80512da2303dd3 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sun, 14 Nov 2021 14:45:35 -0800 Subject: [PATCH] typing_extensions: add Self, Required, NotRequired (#6296) --- stdlib/typing_extensions.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/typing_extensions.pyi b/stdlib/typing_extensions.pyi index 5d05fb789..ce407f996 100644 --- a/stdlib/typing_extensions.pyi +++ b/stdlib/typing_extensions.pyi @@ -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: ...