diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 0611a4c9b45..24f232bb98c 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -273,7 +273,8 @@ | |||
| 273 | ;; asignations | 273 | ;; asignations |
| 274 | ;; support for a = b = c = 5 | 274 | ;; support for a = b = c = 5 |
| 275 | (,(lambda (limit) | 275 | (,(lambda (limit) |
| 276 | (let ((re (python-rx (group (+ (any word ?. ?_))) (* space) | 276 | (let ((re (python-rx (group (+ (any word ?. ?_))) |
| 277 | (? ?\[ (+ (not (any ?\]))) ?\]) (* space) | ||
| 277 | assignment-operator))) | 278 | assignment-operator))) |
| 278 | (when (re-search-forward re limit t) | 279 | (when (re-search-forward re limit t) |
| 279 | (while (and (not (equal (nth 0 (syntax-ppss)) 0)) | 280 | (while (and (not (equal (nth 0 (syntax-ppss)) 0)) |