def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def matchfn(self, f):
        match = self._matcher
        return match(f) or any(map(match, util.dirs((f,))))