---
source: crates/ruff_linter/src/rules/pylint/mod.rs
---
PLW0244 Slot `a` redefined from base class `Base`
 --> redefined_slots_in_subclass.py:6:18
  |
5 | class Subclass(Base):
6 |     __slots__ = ("a", "d")  # [redefined-slots-in-subclass]
  |                  ^^^
7 |
8 | class Grandparent:
  |

PLW0244 Slot `a` redefined from base class `Grandparent`
  --> redefined_slots_in_subclass.py:17:23
   |
16 | class Child(Parent):
17 |     __slots__ = ("c", "a")
   |                       ^^^
18 |
19 | class AnotherBase:
   |

PLW0244 Slot `a` redefined from base class `AnotherBase`
  --> redefined_slots_in_subclass.py:23:18
   |
22 | class AnotherChild(AnotherBase):
23 |     __slots__ = ["a","b","e","f"]
   |                  ^^^
   |

PLW0244 Slot `b` redefined from base class `AnotherBase`
  --> redefined_slots_in_subclass.py:23:22
   |
22 | class AnotherChild(AnotherBase):
23 |     __slots__ = ["a","b","e","f"]
   |                      ^^^
   |
