Some more parso adaptations.
This commit is contained in:
1 parent
f94ef63ff2
commit
24cd603fcf
2 files changed
+4
-2
No files matched your search
@@ -89,7 +89,7 @@ from jedi import parser_utils
|
||||
class Evaluator(object):
|
||||
def __init__(self, grammar, sys_path=None):
|
||||
self.grammar = grammar
|
||||
self.latest_grammar = parso.load_grammar('3.6')
|
||||
self.latest_grammar = parso.load_grammar(version='3.6')
|
||||
self.memoize_cache = {} # for memoize decorators
|
||||
# To memorize modules -> equals `sys.modules`.
|
||||
self.modules = {} # like `sys.modules`.
|
||||
|
||||
Reference in new issue
Block a user