diff --git a/Misc/python-mode.el b/Misc/python-mode.el index ba4f88a90b0..7a4b7d8b0f6 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)))))