diff options
author | Guido van Rossum <guido@python.org> | 1992-04-03 16:32:37 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-04-03 16:32:37 (GMT) |
commit | ceb3ba2afcbd4174b55744b5ad2560e081708061 (patch) | |
tree | 4e1b0849e2f68c1ffc69430743e71e62c368962a /Lib/bdb.py | |
parent | 6886c835aa1df88441a5364e4f9f934d3da7d42c (diff) | |
download | cpython-ceb3ba2afcbd4174b55744b5ad2560e081708061.zip cpython-ceb3ba2afcbd4174b55744b5ad2560e081708061.tar.gz cpython-ceb3ba2afcbd4174b55744b5ad2560e081708061.tar.bz2 |
Different syntax: cannot mix except and finally any more
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r-- | Lib/bdb.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) |