code: def iter(self, dir_entries):
          
          filter = self.filter
          for entry in dir_entries:
              path = filter(Path2(entry.path))
              if path != False:
                  yield path
docs: :param dir_entries: list of os.DirEntry() instances