Skip to content

Commit 11bc0fd

Browse files
hauntsaninjax612skm
authored andcommitted
Document any TYPE_CHECKING name works (python#18443)
1 parent 4dd1d21 commit 11bc0fd

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)