def AppendNodeAnnotation(node, annotation, value):
 attr = GetNodeAnnotation(node, annotation, set())
 attr.add(value)
 SetNodeAnnotation(node, annotation, attr)

def AppendNodeAnnotation ( node , annotation , value ) : attr = GetNodeAnnotation ( node , annotation , set ( ) ) attr . add ( value ) SetNodeAnnotation ( node , annotation , attr )
appends an annotation value to a list of annotations on the node .