diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 619f3f8352f..ffe98503f49 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 +.*:"