mercurial/patch.py
changeset 35191 a1d2fc32bb99
parent 35062 1706eae096e2
child 35277 6ba79cf34f5e
--- a/mercurial/patch.py	Mon Nov 20 23:02:32 2017 -0800
+++ b/mercurial/patch.py	Mon Nov 20 23:13:09 2017 -0800
@@ -149,6 +149,8 @@
                 raise StopIteration
             return l
 
+        __next__ = next
+
     inheader = False
     cur = []