Files
openide/python/testData/inspections/PyRedeclarationInspection/forBody.py

7 lines
183 B
Python

class TestForLoopBody:
def foo():
pass
for _ in [1, 2, 3]:
def <warning descr="Redeclared 'foo' defined above without usage">foo</warning>():
pass