Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c4a8de commit 3b3ff4eCopy full SHA for 3b3ff4e
1 file changed
Misc/python-mode.el
@@ -1363,13 +1363,13 @@ the new line indented."
1363
;; break, continue, and pass force one level of outdenting.
1364
(save-excursion
1365
(let* ((bod (py-point 'bod))
1366
- (pps (parse-partial-sexp bod (point))))
+ (pps (parse-partial-sexp bod (point)))
1367
+ (boipps (parse-partial-sexp bod (py-point 'boi))))
1368
(beginning-of-line)
1369
(cond
1370
;; are we inside a multi-line string or comment?
- ((or (and (nth 3 pps)
1371
- (nth 3 (parse-partial-sexp bod (py-point 'boi))))
1372
- (nth 4 pps))
+ ((or (and (nth 3 pps) (nth 3 boipps))
+ (and (nth 4 pps) (nth 4 boipps)))
1373
1374
(if (not py-align-multiline-strings-p) 0
1375
;; skip back over blank & non-indenting comment lines
0 commit comments