Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyRedeclarationInspection
/
forBody.py
blob: 8d1331a81a849703cb1b2c5ab79db031da19f5eb [
file
]
class
TestForLoopBody
:
def
foo
():
pass
for
_
in
[
1
,
2
,
3
]:
def
<
warning descr
=
"Redeclared 'foo' defined above without usage"
>
foo
</
warning
>():
pass