@deprecated
def setattr_default(obj, name, value):
 if (not hasattr(obj, name)):
  setattr(obj, name, value)

@ deprecated def setattr_default ( obj , name , value ) : if ( not hasattr ( obj , name ) ) : setattr ( obj , name , value )
set attribute value .