def iter(self, dir_entries):
filter = self.filter<EOL>for entry in dir_entries:<EOL><INDENT>path = filter(Path2(entry.path))<EOL>if path != False:<EOL><INDENT>yield path<EOL><DEDENT><DEDENT>
:param dir_entries: list of os.DirEntry() instances