mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-17 01:04:10 +08:00
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:
|
||||
|
||||
Reference in New Issue
Block a user