Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyNoneFunctionAssignmentInspection
/
methodWithInheritors.py
blob: e2bd1ebc9331efa48839337fc8ac1ba8c1c99236 [
file
] [
log
] [
blame
]
class
C
(
object
):
def
foo
(
self
):
pass
def
bar
(
self
):
pass
def
test
(
self
):
x
=
self
.
foo
()
<
weak_warning descr
=
"Function 'bar' doesn't return anything"
>
y
=
self
.
bar
()</
weak_warning
>
class
D
(
C
):
def
foo
(
self
):
return
2