Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyTypeCheckerInspection
/
BuiltinFunctions.py
blob: 9a261da172e708a9771a7a2a21d4cba0c6910db3 [
file
] [
log
] [
blame
]
def
test
():
print
(
map
(
str
,
[
1
,
2
,
3
])
+
[
'foo'
])
#pass
print
(
map
(
lambda
x
:
x
.
upper
(),
'foo'
))
#pass
print
(
filter
(
lambda
x
:
x
%
2
==
0
,
[
1
,
2
,
3
])
+
[
4
,
5
,
6
])
#pass
print
(
filter
(
lambda
x
:
x
!=
'f'
,
'foo'
)
+
'bar'
)
#pass