diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 1ca9f019638..aec27a58dea 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -633,6 +633,8 @@ builtins.") | |||
| 633 | (,(lambda (limit) | 633 | (,(lambda (limit) |
| 634 | (let ((re (python-rx (group (+ (any word ?. ?_))) | 634 | (let ((re (python-rx (group (+ (any word ?. ?_))) |
| 635 | (? ?\[ (+ (not (any ?\]))) ?\]) (* space) | 635 | (? ?\[ (+ (not (any ?\]))) ?\]) (* space) |
| 636 | ;; A type, like " : int ". | ||
| 637 | (? ?: (* space) (+ (any word ?. ?_)) (* space)) | ||
| 636 | assignment-operator)) | 638 | assignment-operator)) |
| 637 | (res nil)) | 639 | (res nil)) |
| 638 | (while (and (setq res (re-search-forward re limit t)) | 640 | (while (and (setq res (re-search-forward re limit t)) |