# HG changeset patch # User Yuya Nishihara # Date 1539669460 -7200 # Node ID afbfcc4e34739f6c5464986e65b23641e87ed0c1 # Parent efbf7de09d2a44082784fb209fb951cdf21fc8d6 py3: alias next to __next__ in commandserver.py diff -r efbf7de09d2a -r afbfcc4e3473 mercurial/commandserver.py --- a/mercurial/commandserver.py Tue Oct 16 07:57:05 2018 +0200 +++ b/mercurial/commandserver.py Tue Oct 16 07:57:40 2018 +0200 @@ -149,6 +149,8 @@ raise StopIteration return l + __next__ = next + def __getattr__(self, attr): if attr in (r'isatty', r'fileno', r'tell', r'seek'): raise AttributeError(attr)