##// END OF EJS Templates
Fix code_to_line when called with empty code...
Fix code_to_line when called with empty code Previously, it was referring to line before it was assigned. Noticed when testing the R kernel.

File last commit:

r13347:54891794
r18195:360f2122
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 *