Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyTypeCheckerInspection
/
PropertyAndFactoryFunction.py
blob: 8cf0bfcce4a9e3308e8b4c44ac6387ea08539313 [
file
] [
log
] [
blame
]
class
C
(
object
):
@property
def
foo
(
self
):
return
'bar'
def
f
():
return
C
()
def
test
():
f
().
foo
+
<
warning descr
=
"Expected type 'str | unicode', got 'int' instead"
>
1
</
warning
>