def _set(obj, attribute, value):
 obj.__dict__[attribute] = value

def _set ( obj , attribute , value ) : obj . __dict__ [ attribute ] = value
helper function to add an attribute directly into the instance dictionary .