Commit 0d3a8146 authored by Barry Warsaw's avatar Barry Warsaw

(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.
parent c1d6d597
......@@ -2497,7 +2497,7 @@ local bindings to py-newline-and-indent."))
(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)))
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment