##// END OF EJS Templates
adjust default value of level in sync_imports...
adjust default value of level in sync_imports and value check for <= 0 instead of just -1. Python 3 no longer allows negative values (relative or absolute), and we should have always allowed 0 to work anyway. closes #4296

File last commit:

r10110:30fce8a6
r12874:57aefd02
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 *