Mark typing.TYPE_CHECKING as Final (#13180)

This commit is contained in:
Brian Schubert
2024-12-03 16:23:19 -05:00
committed by GitHub
parent 18d27d734a
commit 318cebb776

View File

@@ -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