]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(py-no-outdent-re): fixed the regexp for try: clauses
authorBarry Warsaw <barry@python.org>
Tue, 14 Mar 1995 23:25:44 +0000 (23:25 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 14 Mar 1995 23:25:44 +0000 (23:25 +0000)
Misc/python-mode.el

index 619f3f8352fcec865b7607149183a4a65e42f719..ffe98503f49d1bbbaa4fdd13882e7243970e3885 100644 (file)
@@ -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 +.*:"