Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyCallingNonCallableInspection
/
unionType.py
blob: 055caf7f431985b5848c0e429af73b1767570092 [
file
] [
log
] [
blame
]
class
A
(
object
):
pass
class
B
(
object
):
pass
def
foo
(
c
):
x
=
A
if
c
else
B
y
=
A
if
c
else
10
return
x
(),
<
warning descr
=
"'y' is not callable"
>
y
()</
warning
>