Unreachable code
Reports code fragments that cannot be normally reached.
Example:
if True:
print('Yes')
else:
print('No')
As a fix, you might want to check and modify the algorithm to ensure it implements the expected logic.
Inspection Details | |
---|---|
Available in: | DataSpell 2023.3, PyCharm 2023.3 |
Plugin: | Python Community Edition, 233.SNAPSHOT |
Last modified: 13 July 2023