Reports invalid usages of a class with __slots__ definitions.
__slots__
Example:
class Foo: __slots__ = ['foo', 'bar'] foo = Foo() foo.baz = 'spam'