(self,field,value)
return None
Return the group which has the given field and value
Return the group which has the given field and value
Return the group which has the given field and value
def group(self,field,value):
        'Return the group which has the given field and value'
        for group in self.groups:
            if group.__dict__[field] == value: return group
            continue
        return None
def group ( self , field , value ) : for group in self . groups : if group . __dict__ [ field ] == value : return group continue return None