##// END OF EJS Templates
Convert cpasted code to unicode on Python 2...
Convert cpasted code to unicode on Python 2 Closes gh-7676 No test, because this is very awkward code to test, but I can't reproduce the error manually after this change.

File last commit:

r13347:54891794
r20327:f1ebed45
Show More
tokenize2.py
9 lines | 160 B | text/x-python | PythonLexer
"""Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from ._tokenize_py3 import *
else:
from ._tokenize_py2 import *