def ContactVCard(parent):
 synopsis = [((t and t.replace('vcard', 'contact')) or t) for t in parent.SYNOPSIS]
 synopsis[2] = synopsis[1]
 class ContactVCardCommand(parent, ):
  SYNOPSIS = tuple(synopsis)
  KIND = 'individual'
  ORDER = ('Tagging', 3)
  VCARD = 'contact'
 return ContactVCardCommand

def ContactVCard ( parent ) : synopsis = [ ( ( t and t . replace ( 'vcard' , 'contact' ) ) or t ) for t in parent . SYNOPSIS ] synopsis [ 2 ] = synopsis [ 1 ] class ContactVCardCommand ( parent , ) : SYNOPSIS = tuple ( synopsis ) KIND = 'individual' ORDER = ( 'Tagging' , 3 ) VCARD = 'contact' return ContactVCardCommand
a factory for generating contact commands .