File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -593,7 +593,7 @@ For example, there must be at least two overloads.
593
593
594
594
Mypy can only infer a limited number of conditions.
595
595
Supported ones currently include :py:data: `~typing.TYPE_CHECKING `, ``MYPY ``,
596
- :ref: `version_and_platform_checks `, and :option: `--always-true <mypy --always-true> `
596
+ :ref: `version_and_platform_checks `, :option: `--always-true <mypy --always-true> `,
597
597
and :option: `--always-false <mypy --always-false> ` values.
598
598
599
599
.. code-block :: python
@@ -666,7 +666,8 @@ For example, there must be at least two overloads.
666
666
The overloads for ``A `` and ``C `` are ignored!
667
667
The overload for ``D `` is not defined conditionally and thus is also added.
668
668
669
- When mypy cannot infer a condition to be always True or always False, an error is emitted.
669
+ When mypy cannot infer a condition to be always ``True `` or always ``False ``,
670
+ an error is emitted.
670
671
671
672
.. code-block :: python
672
673
You can’t perform that action at this time.
0 commit comments