##// END OF EJS Templates
py3: stop rewriting xrange() to pycompat.xrange()...
Gregory Szorc -
r38808:6558f24f default draft obsolete
parent child Browse files
Show More
@@ -182,7 +182,7 b' if sys.version_info[0] >= 3:'
182 continue
182 continue
183 r, c = t.start
183 r, c = t.start
184 l = (b'; from mercurial.pycompat import '
184 l = (b'; from mercurial.pycompat import '
185 b'delattr, getattr, hasattr, setattr, xrange, '
185 b'delattr, getattr, hasattr, setattr, '
186 b'open, unicode\n')
186 b'open, unicode\n')
187 for u in tokenize.tokenize(io.BytesIO(l).readline):
187 for u in tokenize.tokenize(io.BytesIO(l).readline):
188 if u.type in (tokenize.ENCODING, token.ENDMARKER):
188 if u.type in (tokenize.ENCODING, token.ENDMARKER):
General Comments 0
You need to be logged in to leave comments. Login now