Show More
@@ -2871,7 +2871,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
2871 | self.events.trigger('post_run_cell', result) |
|
2871 | self.events.trigger('post_run_cell', result) | |
2872 | return result |
|
2872 | return result | |
2873 |
|
2873 | |||
2874 | def _run_cell(self, raw_cell:str, store_history:bool, silent:bool, shell_futures:bool): |
|
2874 | def _run_cell(self, raw_cell:str, store_history:bool, silent:bool, shell_futures:bool) -> ExecutionResult: | |
2875 | """Internal method to run a complete IPython cell.""" |
|
2875 | """Internal method to run a complete IPython cell.""" | |
2876 | coro = self.run_cell_async( |
|
2876 | coro = self.run_cell_async( | |
2877 | raw_cell, |
|
2877 | raw_cell, | |
@@ -2899,7 +2899,6 b' class InteractiveShell(SingletonConfigurable):' | |||||
2899 | result.error_in_exec = e |
|
2899 | result.error_in_exec = e | |
2900 | self.showtraceback(running_compiled_code=True) |
|
2900 | self.showtraceback(running_compiled_code=True) | |
2901 | return result |
|
2901 | return result | |
2902 | return |
|
|||
2903 |
|
2902 | |||
2904 | def should_run_async(self, raw_cell: str) -> bool: |
|
2903 | def should_run_async(self, raw_cell: str) -> bool: | |
2905 | """Return whether a cell should be run asynchronously via a coroutine runner |
|
2904 | """Return whether a cell should be run asynchronously via a coroutine runner |
General Comments 0
You need to be logged in to leave comments.
Login now