summaryrefslogtreecommitdiff
path: root/doc/whatsnew/fragments/7311.false_positive
blob: 84d57502b41accd9b0aaa2c3f2c279f7eb14b6f9 (plain)
1
2
3
4
Fix false positive for ``undefined-loop-variable`` in ``for-else`` loops that use a function
having a return type annotation of ``NoReturn`` or ``Never``.

Closes #7311