?
=?ISO-8859-1?Q?Sch=FCle_Daniel?=
Hello,
consider this code
.... def __init__(self):
.... self.a = 1
.... self.b = 2
........ __slots__ = ["x","y"]
....
no exception here
does __slots__ nothing when used in derived classes?
.... __slots__ = ["x","y"]
....Traceback (most recent call last):
here it works like expected
Regards, Daniel
consider this code
.... def __init__(self):
.... self.a = 1
.... self.b = 2
........ __slots__ = ["x","y"]
....
no exception here
does __slots__ nothing when used in derived classes?
.... __slots__ = ["x","y"]
....Traceback (most recent call last):
here it works like expected
Regards, Daniel