diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index b754011..97ade0d 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -2789,6 +2789,7 @@ class InteractiveShell(SingletonConfigurable): ------- result : :class:`ExecutionResult` """ + result = None try: result = self._run_cell( raw_cell, store_history, silent, shell_futures)