summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 619f3f8..ffe9850 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -319,7 +319,7 @@ Currently-active file is at the head of the list.")
(defconst py-no-outdent-re
(concat "\\(" (mapconcat 'identity
- '("try\\s +.*:"
+ '("try:"
"except\\(\\s +.*\\)?:"
"while\\s +.*:"
"for\\s +.*:"