forked from VimPlug/jedi
use tokenizer instead of tokenize in all modules
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import sys
|
||||
import contextlib
|
||||
import functools
|
||||
import tokenize
|
||||
import tokenizer as tokenize
|
||||
|
||||
from jedi._compatibility import next, reraise
|
||||
from jedi import debug
|
||||
|
||||
@@ -16,7 +16,7 @@ Apart from those classes there's a ``sys.path`` fetching function, as well as
|
||||
from __future__ import with_statement
|
||||
|
||||
import re
|
||||
import tokenize
|
||||
import tokenizer as tokenize
|
||||
import sys
|
||||
import os
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ complexity of the ``Parser`` (there's another parser sitting inside
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
import tokenize
|
||||
import tokenizer as tokenize
|
||||
import keyword
|
||||
|
||||
from jedi._compatibility import next, StringIO
|
||||
|
||||
@@ -38,7 +38,7 @@ from __future__ import with_statement
|
||||
|
||||
import os
|
||||
import re
|
||||
import tokenize
|
||||
import tokenizer as tokenize
|
||||
|
||||
from jedi._compatibility import next, literal_eval, cleandoc, Python3Method, \
|
||||
encoding, property, unicode, is_py3k
|
||||
|
||||
Reference in New Issue
Block a user