# HG changeset patch # User Martin von Zweigbergk # Date 1556033966 25200 # Node ID 7edff8dd46a7ac521d9ede9ef015d0b11ee9fddd # Parent 0da689a60163b3828b4d99868619f8d29afd7d33 match: remove unused match.__iter__ implementation (API) Differential Revision: https://phab.mercurial-scm.org/D6305 diff -r 0da689a60163 -r 7edff8dd46a7 mercurial/match.py --- a/mercurial/match.py Thu Mar 21 18:32:45 2019 -0700 +++ b/mercurial/match.py Tue Apr 23 08:39:26 2019 -0700 @@ -305,9 +305,6 @@ def __call__(self, fn): return self.matchfn(fn) - def __iter__(self): - for f in self._files: - yield f # Callbacks related to how the matcher is used by dirstate.walk. # Subscribers to these events must monkeypatch the matcher object. def bad(self, f, msg):