We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 793b036 commit 73412a8Copy full SHA for 73412a8
Doc/library/constants.rst
@@ -70,6 +70,15 @@ A small number of constants live in the built-in namespace. They are:
70
``Ellipsis`` is the sole instance of the :data:`types.EllipsisType` type.
71
72
73
+.. data:: TYPE_CHECKING
74
+
75
+ This constant is same to :data:`typing.TYPE_CHECKING`.
76
+ It is always ``False`` at runtime, but third party static type checkers
77
+ assumes it to be ``True``.
78
79
+ .. versionadded:: next
80
81
82
.. data:: __debug__
83
84
This constant is true if Python was not started with an :option:`-O` option.
0 commit comments