class Point: __slots__ = ['x', 'y'] p = Point() p.x = 1 p.z = 2… — Python | Тесты для программистов — TG.ME