Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion peps/pep-0781.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
Loading