Skip to content

Commit 888100a

Browse files
committed
exc
1 parent 5648362 commit 888100a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

execnb/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class CaptureShell(FastInteractiveShell):
4444
def __init__(self):
4545
super().__init__(displayhook_class=_CaptureHook, display_pub_class=_CapturePub)
4646
InteractiveShell._instance = self
47-
self.result,self.out,self.count = None,[],1
47+
self.exc,self.result,self.out,self.count = None,None,[],1
4848
self.run_cell('%matplotlib inline')
4949

5050
def enable_gui(self, gui=None): pass

nbs/02_shell.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
" def __init__(self):\n",
9595
" super().__init__(displayhook_class=_CaptureHook, display_pub_class=_CapturePub)\n",
9696
" InteractiveShell._instance = self\n",
97-
" self.result,self.out,self.count = None,[],1\n",
97+
" self.exc,self.result,self.out,self.count = None,None,[],1\n",
9898
" self.run_cell('%matplotlib inline')\n",
9999
"\n",
100100
" def enable_gui(self, gui=None): pass\n",

0 commit comments

Comments
 (0)