diff --git a/peps/pep-0781.rst b/peps/pep-0781.rst index 6f7a3f59ffc..b42874312b4 100644 --- a/peps/pep-0781.rst +++ b/peps/pep-0781.rst @@ -57,7 +57,7 @@ Specification ``TYPE_CHECKING`` is a built-in constant and its value is ``False``. Unlike ``True``, ``False``, ``None``, and ``__debug__``, ``TYPE_CHECKING`` is -not a real constant; assigning to it will not raise a ``SyntaxError``. +not a real constant; assigning to it will raise a ``SyntaxError``. Static type checkers must treat ``TYPE_CHECKING`` as ``True``, similar to :data:`typing.TYPE_CHECKING`.