mirror of https://github.com/python/cpython
Different syntax: cannot mix except and finally any more
This commit is contained in:
parent
6886c835aa
commit
ceb3ba2afc
|
@ -246,9 +246,10 @@ class Bdb: # Basic Debugger
|
|||
self.reset()
|
||||
sys.settrace(self.trace_dispatch)
|
||||
try:
|
||||
exec(cmd + '\n', globals, locals)
|
||||
except BdbQuit:
|
||||
pass
|
||||
try:
|
||||
exec(cmd + '\n', globals, locals)
|
||||
except BdbQuit:
|
||||
pass
|
||||
finally:
|
||||
self.quitting = 1
|
||||
sys.settrace(None)
|
||||
|
|
Loading…
Reference in New Issue