aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/python.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f402ad83cca..50b9d1b0eee 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -4492,6 +4492,7 @@ point's current `syntax-ppss'."
4492 (python-nav-backward-sexp) 4492 (python-nav-backward-sexp)
4493 (setq backward-sexp-point (point)) 4493 (setq backward-sexp-point (point))
4494 (and (= indentation (current-indentation)) 4494 (and (= indentation (current-indentation))
4495 (not (bobp)) ; Prevent infloop.
4495 (looking-at-p 4496 (looking-at-p
4496 (concat "[uU]?[rR]?" 4497 (concat "[uU]?[rR]?"
4497 (python-rx string-delimiter))))) 4498 (python-rx string-delimiter)))))