forked from VimPlug/jedi
Fix a few tokenize tests and merge them back together.
This commit is contained in:
@@ -33,7 +33,7 @@ STATEMENT_KEYWORDS = 'assert', 'del', 'global', 'nonlocal', 'raise', \
|
||||
_loaded_grammars = {}
|
||||
|
||||
|
||||
def load_grammar(file):
|
||||
def load_grammar(file='grammar3.4'):
|
||||
global _loaded_grammars
|
||||
path = os.path.join(os.path.dirname(__file__), file) + '.txt'
|
||||
try:
|
||||
|
||||
@@ -16,7 +16,7 @@ import difflib
|
||||
|
||||
from jedi import common
|
||||
from jedi.evaluate import helpers
|
||||
from jedi.parser import representation as pr
|
||||
from jedi.parser import tree as pt
|
||||
|
||||
|
||||
class Refactoring(object):
|
||||
|
||||
Reference in New Issue
Block a user