def newDerSetOf(*der_objs):
 der = DerSetOf()
 for obj in der_objs:
  if isinstance(obj, DerObject):
   der.add(obj.encode())
  else:
   der.add(obj)
 return der

def newDerSetOf ( * der_objs ) : der = DerSetOf ( ) for obj in der_objs : if isinstance ( obj , DerObject ) : der . add ( obj . encode ( ) ) else : der . add ( obj ) return der
create a dersequence object .