Skip to content

Commit

Permalink
Document any TYPE_CHECKING name works (#18443)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja authored Jan 19, 2025
1 parent f809204 commit c4e2eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/common_issues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ Example:
# The rest of this file doesn't apply to Windows.
Some other expressions exhibit similar behavior; in particular,
:py:data:`~typing.TYPE_CHECKING`, variables named ``MYPY``, and any variable
:py:data:`~typing.TYPE_CHECKING`, variables named ``MYPY`` or ``TYPE_CHECKING``, and any variable
whose name is passed to :option:`--always-true <mypy --always-true>` or :option:`--always-false <mypy --always-false>`.
(However, ``True`` and ``False`` are not treated specially!)

Expand Down

0 comments on commit c4e2eb7

Please sign in to comment.