mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Different syntax: cannot mix except and finally any more
This commit is contained in:
parent
6886c835aa
commit
ceb3ba2afc
1 changed files with 4 additions and 3 deletions
|
|
@ -245,6 +245,7 @@ class Bdb: # Basic Debugger
|
|||
def runctx(self, cmd, globals, locals):
|
||||
self.reset()
|
||||
sys.settrace(self.trace_dispatch)
|
||||
try:
|
||||
try:
|
||||
exec(cmd + '\n', globals, locals)
|
||||
except BdbQuit:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue