Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyNoneFunctionAssignmentInspection
/
methodWithInheritors.py
blob: e2bd1ebc9331efa48839337fc8ac1ba8c1c99236 [
file
]
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