changeset 37064 | 434e520adb8c |
parent 36958 | 644a02f6b34f |
child 37099 | 6ca5f825a0ca |
--- a/mercurial/pycompat.py Thu Mar 15 18:05:49 2018 -0700 +++ b/mercurial/pycompat.py Mon Mar 12 20:45:10 2018 +0900 @@ -71,6 +71,9 @@ def maplist(*args): return list(map(*args)) + def rangelist(*args): + return list(range(*args)) + def ziplist(*args): return list(zip(*args)) @@ -348,6 +351,7 @@ bytesio = cStringIO.StringIO stringio = bytesio maplist = map + rangelist = range ziplist = zip rawinput = raw_input getargspec = inspect.getargspec