summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 bf4c4d5..6ae0c9b 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -3148,7 +3148,7 @@ local bindings to py-newline-and-indent."))
;; Helper functions
(defvar py-parse-state-re
(concat
- "^[ \t]*\\(if\\|elif\\|else\\|while\\|def\\|class\\)\\>"
+ "^[ \t]*\\(elif\\|else\\|while\\|def\\|class\\)\\>"
"\\|"
"^[^ #\t\n]"))