From 1553393984180cefc6eb474efd211e21e1e444a4 Mon Sep 17 00:00:00 2001 From: Brian Schubert Date: Tue, 3 Dec 2024 12:41:11 -0500 Subject: [PATCH] Make typing.TYPE_CHECKING Final --- stdlib/typing.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index 8f0d4fbb6a02..741e7b8a3167 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -757,7 +757,7 @@ class MutableMapping(Mapping[_KT, _VT]): Text = str -TYPE_CHECKING: bool +TYPE_CHECKING: Final[bool] # In stubs, the arguments of the IO class are marked as positional-only. # This differs from runtime, but better reflects the fact that in reality