Mercurial > hg
changeset 40358:afbfcc4e3473
py3: alias next to __next__ in commandserver.py
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 16 Oct 2018 07:57:40 +0200 |
parents | efbf7de09d2a |
children | 558114fa7bc1 |
files | mercurial/commandserver.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)