mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Mark typing.TYPE_CHECKING as Final (#13180)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user