Remove the module attribute from the parser.
This commit is contained in:
1 parent
d0b6d41e99
commit
0f66a3c7a8
11 files changed
+21
-20
No files matched your search
@@ -123,7 +123,7 @@ def parse(grammar, path):
|
||||
|
||||
|
||||
def _load_module(evaluator, path, python_object):
|
||||
module = parse(evaluator.grammar, path).module
|
||||
module = parse(evaluator.grammar, path).get_root_node()
|
||||
python_module = inspect.getmodule(python_object)
|
||||
|
||||
evaluator.modules[python_module.__name__] = module
|
||||
|
||||
Reference in new issue
Block a user