Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyTypeCheckerInspection
/
ForLoopIteration.py
blob: 7c67dc4b5e67a93f7774b8befa483c83cde9b6c0 [
file
] [
log
] [
blame
]
def
test
(
p1
):
for
x
in
'foo'
:
pass
for
x
in
<
warning descr
=
"Expected 'collections.Iterable', got 'int' instead"
>
42
</
warning
>:
pass
for
x
in
f
(
'foo'
,
p1
):
pass
def
f
(
c
,
x
):
if
c
:
return
10
else
:
return
x