aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 1cd1396f24f..4589a828ebe 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -692,7 +692,7 @@ START is the buffer position where the sexp starts."
692 indentation)) 692 indentation))
693 ('inside-paren 693 ('inside-paren
694 (or (save-excursion 694 (or (save-excursion
695 (forward-comment 9999) 695 (skip-syntax-forward "\s" (line-end-position))
696 (when (and (looking-at (regexp-opt '(")" "]" "}"))) 696 (when (and (looking-at (regexp-opt '(")" "]" "}")))
697 (not (forward-char 1)) 697 (not (forward-char 1))
698 (not (python-info-ppss-context 'paren))) 698 (not (python-info-ppss-context 'paren)))