summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1995-03-14 23:25:44 (GMT)
committerBarry Warsaw <barry@python.org>1995-03-14 23:25:44 (GMT)
commit464c94af2a0c9a22f205a164d6a58734c0f427a7 (patch)
tree8dde12e8ca6ecb651c848d1514f360c756a6e1ab /Misc
parent3874a3d7ef85b9ea068d81aeb80e9c251ff1b561 (diff)
downloadcpython-464c94af2a0c9a22f205a164d6a58734c0f427a7.zip
cpython-464c94af2a0c9a22f205a164d6a58734c0f427a7.tar.gz
cpython-464c94af2a0c9a22f205a164d6a58734c0f427a7.tar.bz2
(py-no-outdent-re): fixed the regexp for try: clauses
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 +.*:"