Show More
@@ -2695,7 +2695,9 class InteractiveShell(SingletonConfigurable): | |||
|
2695 | 2695 | warn("AST transformer %r threw an error. It will be unregistered." % transformer) |
|
2696 | 2696 | self.ast_transformers.remove(transformer) |
|
2697 | 2697 | |
|
2698 | return ast.fix_missing_locations(node) | |
|
2698 | if self.ast_transformers: | |
|
2699 | ast.fix_missing_locations(node) | |
|
2700 | return node | |
|
2699 | 2701 | |
|
2700 | 2702 | |
|
2701 | 2703 | def run_ast_nodes(self, nodelist, cell_name, interactivity='last_expr', |
General Comments 0
You need to be logged in to leave comments.
Login now