We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199a6bc commit 16c5bd9Copy full SHA for 16c5bd9
1 file changed
bpython/repl.py
@@ -1022,7 +1022,7 @@ def next_indentation(line, tab_length):
1022
if line.rstrip().endswith(':'):
1023
indentation += 1
1024
elif indentation >= 1:
1025
- if line.lstrip().startswith(('return', 'pass')):
+ if line.lstrip().startswith(('return', 'pass', 'raise')):
1026
indentation -= 1
1027
return indentation
1028
0 commit comments