##// END OF EJS Templates
Fix imports for plain terminal ipython and use a proper warn() call.
Fix imports for plain terminal ipython and use a proper warn() call.

File last commit:

r10110:30fce8a6
r11020:3bf3158c
Show More
tokenize2.py
9 lines | 158 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 *