diff Misc/python-mode.el @ 2548:2cac6c5066da legacy-trunk

(py-no-outdent-re): fixed the regexp for try: clauses
author Barry Warsaw <barry@python.org>
date Tue, 14 Mar 1995 23:25:44 +0000
parents 3281a931a1d9
children 4196000789bc
line wrap: on
line diff
--- a/Misc/python-mode.el	Tue Mar 14 22:05:53 1995 +0000
+++ b/Misc/python-mode.el	Tue Mar 14 23:25:44 1995 +0000
@@ -319,7 +319,7 @@
 
 (defconst py-no-outdent-re
   (concat "\\(" (mapconcat 'identity
-			   '("try\\s +.*:"
+			   '("try:"
 			     "except\\(\\s +.*\\)?:"
 			     "while\\s +.*:"
 			     "for\\s +.*:"