blob: dfd3f5e4cc50f0b974ecba81ca1e7db25bacb8e4 [file] [log] [blame]
class A(object):
__slots__ = ['a', 'b']
def __init__(self):
self.a = None # <- all ok here
self.b = None # <- all ok here
class C(A):
__slots__ = ['c', 'd']
def __init__(self, c):
super(C, self).__init__()
self.c = c
self.d = self.b
if self.c:
self.a = 10