forked from VimPlug/jedi
Remove an occurance of the complicated parser creation.
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
from jedi.parser.parser import Parser, ParserWithRecovery, ParseError
|
||||
from jedi.parser.pgen2.pgen import generate_grammar
|
||||
|
||||
|
||||
def parse(grammar, code):
|
||||
raise NotImplementedError
|
||||
Parser(grammar, code)
|
||||
|
||||
Reference in New Issue
Block a user