def Application(name, uid=None, gid=None):
 ret = components.Componentized()
 availableComponents = [MultiService(), Process(uid, gid), sob.Persistent(ret, name)]
 for comp in availableComponents:
  ret.addComponent(comp, ignoreClass=1)
 IService(ret).setName(name)
 return ret

def Application ( name , uid = None , gid = None ) : ret = components . Componentized ( ) availableComponents = [ MultiService ( ) , Process ( uid , gid ) , sob . Persistent ( ret , name ) ] for comp in availableComponents : ret . addComponent ( comp , ignoreClass = 1 ) IService ( ret ) . setName ( name ) return ret
return a compound class .