(mcs, __name__, __bases__, __dict__)
return cls
Add include constructer to class.
Add include constructer to class.
Add include constructer to class .
def __new__(mcs, __name__, __bases__, __dict__):
        """Add include constructer to class."""
        # register the include constructor on the class
        cls = super().__new__(mcs, __name__, __bases__, __dict__)
        cls.add_constructor('!include', cls.construct_include)
        return cls
def __new__ ( mcs , __name__ , __bases__ , __dict__ ) : # register the include constructor on the class cls = super ( ) . __new__ ( mcs , __name__ , __bases__ , __dict__ ) cls . add_constructor ( '!include' , cls . construct_include ) return cls