__slots__ 定義のクラスの無効な使用箇所を報告します。

例:


class Foo:
    __slots__ = ['foo', 'bar']


foo = Foo()
foo.baz = 'spam'