Skip to content

Commit 318cebb

Browse files
Mark typing.TYPE_CHECKING as Final (#13180)
1 parent 18d27d7 commit 318cebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/typing.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ class MutableMapping(Mapping[_KT, _VT]):
757757

758758
Text = str
759759

760-
TYPE_CHECKING: bool
760+
TYPE_CHECKING: Final[bool]
761761

762762
# In stubs, the arguments of the IO class are marked as positional-only.
763763
# This differs from runtime, but better reflects the fact that in reality

0 commit comments

Comments
 (0)