(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:
Barry Warsaw 1998-02-05 23:35:09 +00:00
parent 8f972b762a
commit f1b3e89800
1 changed files with 1 additions and 1 deletions

View File

@ -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)))
)