Skip to content

Commit c4e2eb7

Browse files
authored
Document any TYPE_CHECKING name works (#18443)
1 parent f809204 commit c4e2eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/common_issues.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ Example:
455455
# The rest of this file doesn't apply to Windows.
456456
457457
Some other expressions exhibit similar behavior; in particular,
458-
:py:data:`~typing.TYPE_CHECKING`, variables named ``MYPY``, and any variable
458+
:py:data:`~typing.TYPE_CHECKING`, variables named ``MYPY`` or ``TYPE_CHECKING``, and any variable
459459
whose name is passed to :option:`--always-true <mypy --always-true>` or :option:`--always-false <mypy --always-false>`.
460460
(However, ``True`` and ``False`` are not treated specially!)
461461

0 commit comments

Comments
 (0)