Sign in
android
/
platform
/
tools
/
idea
/
c810bbf46e7246636afe1d18947a460cedc5d24d
/
.
/
python
/
testData
/
inspections
/
PyProtectedMemberInspection
/
truePositiveInClass.py
blob: 45474e7b4f58b82724d6478d19ba52db91540e57 [
file
] [
log
] [
blame
]
__author__
=
'ktisha'
class
A
:
def
__init__
(
self
):
self
.
_a
=
1
def
foo
(
self
):
self
.
b
=
1
class
B
:
def
__init__
(
self
):
<
weak_warning descr
=
"Access to a protected member _a of a class"
>
A
().
_a
</
weak_warning
>