Invalid usages of classes with '__slots__' definitions
Reports invalid usages of a class with __slots__
definitions.
Example:
class Foo:
__slots__ = ['foo', 'bar']
foo = Foo()
foo.baz = 'spam'
Inspection Details | |
---|---|
Available in: | DataSpell 2023.3, PyCharm 2023.3 |
Plugin: | Python Community Edition, 233.SNAPSHOT |
Last modified: 13 July 2023