remove read only attribute autocad attribute editor autocad attribute extraction attribute changer reset attribute initialization file initialization parameters
Description - Overriding __new__ for attribute initialization
Whenever a superclass implements a __init__ method to initialize its attributes, subclasses derived from it have to invoke the __init__ method of the superclass. This recipe is a different mechanism of initializing the attributes of a superclass with Default values, achieved by overriding the __new__ method.