X Tutup
Skip to content

Commit d6bb347

Browse files
committed
Use except Exception as e consistently
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 8afe3a3 commit d6bb347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ def p_key(self, key):
969969
elif key in key_dispatch[config.show_source_key]:
970970
try:
971971
source = self.get_source_of_current_name()
972-
except repl.SourceNotFound, e:
972+
except repl.SourceNotFound as e:
973973
self.statusbar.message(_(e))
974974
else:
975975
if config.highlight_show_source:

0 commit comments

Comments
 (0)
X Tutup