def _add_role_and_annotate(var, role, annotations=()):
 add_role(var, role)
 for annotation in annotations:
  add_annotation(var, annotation)

def _add_role_and_annotate ( var , role , annotations = ( ) ) : add_role ( var , role ) for annotation in annotations : add_annotation ( var , annotation )
add a role and zero or more annotations to a variable .