File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -572,7 +572,7 @@ def _TestValidity(self):
572572 if self .Validator :
573573 self .Validator .TestValid (self )
574574 self ._IndicateValidity ()
575- except RuntimeError :
575+ except RuntimeError : #bandaid to avoid C++ error; deleted self.Validator?
576576 pass
577577
578578 def _IndicateValidity (self ):
Original file line number Diff line number Diff line change @@ -1158,7 +1158,7 @@ def bwTB(): print(IPython.core.ultratb.ListTB().text(*args)) # uncolored
11581158 locals ['vTB' ] = vTB
11591159 locals ['bwTB' ] = bwTB
11601160 msg = f'IPython console: { frame .f_code .co_filename } , line { frame .f_lineno } '
1161- msg += '\n [TB(), vTB()/vTB(0) & bwTB() for tracebacks]'
1161+ msg += '\n [TB(), vTB(-n )/vTB(0) & bwTB() for tracebacks to n levels back ]'
11621162 ipshell (msg ,local_ns = locals ,global_ns = frame .f_globals )
11631163 except :
11641164 msg = 'Entering IPython console (not in error contex)'
You can’t perform that action at this time.
0 commit comments