summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Misc/python-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index ba4f88a90b..7a4b7d8b0f 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -3714,7 +3714,7 @@ If point is inside a string, narrow to that string and fill.
(py-fill-comment justify))
;; are we inside a string?
((nth 3 pps)
- (py-fill-string (nth 2 pps)))
+ (py-fill-string (nth 8 pps)))
;; otherwise use the default
(t
(fill-paragraph justify)))))