def MakeControlClass(controlClass, name=None):
 if (name is None):
  name = controlClass.__name__
 return new_type(('OCX' + name), (Control, controlClass), {})

def MakeControlClass ( controlClass , name = None ) : if ( name is None ) : name = controlClass . __name__ return new_type ( ( 'OCX' + name ) , ( Control , controlClass ) , { } )
given a coclass in a generated .