63 raise ValueError(
"Must specify a user name to add it to the group.")
91 if isinstance(o, Group):
93 elif isinstance(o, str):
96 raise TypeError(
"Expecting a Group type or string to compare to.")
121 groupNames.append(group.Name)
124 groupNames.sort(key=str.lower)
167 return self.
_groups[foundIndex]
181 raise ValueError(
"Must specify a group name to add it to the group list.")