diff Misc/python-mode.el @ 7198:5cd2f699bf69 legacy-trunk

(py-parse-state): When looking for landing inside triple-quoted string, don't check for indentation at column zero. This will falsely hit a line inside a docstring that starts at column zero but ends in a colon.
author Barry Warsaw <barry@python.org>
date Thu, 05 Feb 1998 23:35:09 +0000
parents 26d07735ba4a
children 720e9183961e
line wrap: on
line diff
--- a/Misc/python-mode.el	Thu Feb 05 20:45:49 1998 +0000
+++ b/Misc/python-mode.el	Thu Feb 05 23:35:09 1998 +0000
@@ -2497,7 +2497,7 @@
 	(save-excursion
 	  (setq pps (parse-partial-sexp (point) here)))
 	;; make sure we don't land inside a triple-quoted string
-	(setq done (or (zerop ci)
+	(setq done (or ;(zerop ci)
 		       (not (nth 3 pps))
 		       (bobp)))
 	)