def RemoveSubtypeAnnotation(node, value):
 attr = GetNodeAnnotation(node, Annotation.SUBTYPE)
 if (attr and (value in attr)):
  attr.remove(value)
  SetNodeAnnotation(node, Annotation.SUBTYPE, attr)

def RemoveSubtypeAnnotation ( node , value ) : attr = GetNodeAnnotation ( node , Annotation . SUBTYPE ) if ( attr and ( value in attr ) ) : attr . remove ( value ) SetNodeAnnotation ( node , Annotation . SUBTYPE , attr )
removes an annotation value from the subtype annotations on the node .