Files
openide/python/testData/inspections/PyProtectedMemberInspection/trueNegative.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

16 lines
181 B
Python

__author__ = 'ktisha'
class A:
def __init__(self):
self._a = 1
def foo(self):
self.b= 1
class B(A):
def __init__(self):
A.__init__(self)
self.b = self._a