1
0
forked from VimPlug/jedi

Grammar versioning has now a smoother interface.

This commit is contained in:
Dave Halter
2015-12-25 19:30:25 +01:00
parent a373e34229
commit eb2e41f771
4 changed files with 11 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ def _load_faked_module(module):
except IOError:
modules[module_name] = None
return
grammar = load_grammar('grammar3.4')
grammar = load_grammar(version='3.4')
module = ParserWithRecovery(grammar, unicode(source), module_name).module
modules[module_name] = module