##// END OF EJS Templates
support `input` in Python 2 kernels...
support `input` in Python 2 kernels input is just `eval(raw_input(…))` closes #3990

File last commit:

r10110:30fce8a6
r12320:a2551ddc
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 *