##// END OF EJS Templates
pycompat: name maplist() and ziplist() for better traceback message
Yuya Nishihara -
r36952:dbae5810 default
parent child Browse files
Show More
@@ -65,8 +65,13 b' if ispy3:'
65 if sysexecutable:
65 if sysexecutable:
66 sysexecutable = os.fsencode(sysexecutable)
66 sysexecutable = os.fsencode(sysexecutable)
67 stringio = io.BytesIO
67 stringio = io.BytesIO
68 maplist = lambda *args: list(map(*args))
68
69 ziplist = lambda *args: list(zip(*args))
69 def maplist(*args):
70 return list(map(*args))
71
72 def ziplist(*args):
73 return list(zip(*args))
74
70 rawinput = input
75 rawinput = input
71 getargspec = inspect.getfullargspec
76 getargspec = inspect.getfullargspec
72
77
General Comments 0
You need to be logged in to leave comments. Login now