def NewEnum(seq, cls=ListEnumerator, iid=pythoncom.IID_IEnumVARIANT, usePolicy=None, useDispatcher=None):
 ob = cls(seq, iid=iid)
 return wrap(ob, iid, usePolicy=usePolicy, useDispatcher=useDispatcher)

def NewEnum ( seq , cls = ListEnumerator , iid = pythoncom . IID_IEnumVARIANT , usePolicy = None , useDispatcher = None ) : ob = cls ( seq , iid = iid ) return wrap ( ob , iid , usePolicy = usePolicy , useDispatcher = useDispatcher )
creates a new enumerator com server .