def __new__(cls, definition, state, id):
    """Constructor."""
    obj = object.__new__(cls)
    obj.__definition = definition
    obj.__state = state
    obj.__id = id
    return obj
def __new__ ( cls , definition , state , id ) : obj = object . __new__ ( cls ) obj . __definition = definition obj . __state = state obj . __id = id return obj
Constructor.