According to the python official documentation, slots are class variables. Therefore, in the class abc.ABC, the variable __slots__ should be annotated as ClassVar[Sequence[str]]. There is currently no annotation. It means that in all subclasses of abc.ABC, the variable __slots__ is considered as an instance variable.