##// 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 65 if sysexecutable:
66 66 sysexecutable = os.fsencode(sysexecutable)
67 67 stringio = io.BytesIO
68 maplist = lambda *args: list(map(*args))
69 ziplist = lambda *args: list(zip(*args))
68
69 def maplist(*args):
70 return list(map(*args))
71
72 def ziplist(*args):
73 return list(zip(*args))
74
70 75 rawinput = input
71 76 getargspec = inspect.getfullargspec
72 77
General Comments 0
You need to be logged in to leave comments. Login now