changeset 36934 | dbae581010ea |
parent 36648 | 6585ac350fd9 |
child 36958 | 644a02f6b34f |
--- a/mercurial/pycompat.py Sun Mar 04 09:07:06 2018 -0800 +++ b/mercurial/pycompat.py Tue Mar 13 21:22:14 2018 +0900 @@ -65,8 +65,13 @@ if sysexecutable: sysexecutable = os.fsencode(sysexecutable) stringio = io.BytesIO - maplist = lambda *args: list(map(*args)) - ziplist = lambda *args: list(zip(*args)) + + def maplist(*args): + return list(map(*args)) + + def ziplist(*args): + return list(zip(*args)) + rawinput = input getargspec = inspect.getfullargspec