(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.
This commit is contained in:
parent
8f972b762a
commit
f1b3e89800
|
@ -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)))
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue