Files
openide/python/testData/inspections/PyProtectedMemberInspection/truePositiveInClass.py
Ekaterina Tuzova d95b343465 implemented W0212 pylint inspection
Access to a protected member %s of a client class
2013-03-21 15:49:23 +04:00

13 lines
225 B
Python

__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>