Show More
@@ -2405,12 +2405,14 b' class InteractiveShell(SingletonConfigurable, Magic):' | |||
|
2405 | 2405 | code_ast = self.compile.ast_parse(cell, filename=cell_name) |
|
2406 | 2406 | except IndentationError: |
|
2407 | 2407 | self.showindentationerror() |
|
2408 |
|
|
|
2408 | if store_history: | |
|
2409 | self.execution_count += 1 | |
|
2409 | 2410 | return None |
|
2410 | 2411 | except (OverflowError, SyntaxError, ValueError, TypeError, |
|
2411 | 2412 | MemoryError): |
|
2412 | 2413 | self.showsyntaxerror() |
|
2413 |
|
|
|
2414 | if store_history: | |
|
2415 | self.execution_count += 1 | |
|
2414 | 2416 | return None |
|
2415 | 2417 | |
|
2416 | 2418 | self.run_ast_nodes(code_ast.body, cell_name, |
General Comments 0
You need to be logged in to leave comments.
Login now