Mercurial > cpython-lru_cache-weakref
diff Misc/python-mode.el @ 7878:ac2d1c1f1971 legacy-trunk
(imenu-example--python-class-regexp): Fix to recognize Module.Class in
inheritance list.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Sat, 04 Apr 1998 21:36:53 +0000 |
| parents | 68e2b0dbbec8 |
| children | 9cbcb5931d80 |
line wrap: on
line diff
--- a/Misc/python-mode.el Sat Apr 04 07:23:21 1998 +0000 +++ b/Misc/python-mode.el Sat Apr 04 21:36:53 1998 +0000 @@ -715,7 +715,7 @@ "^[ \t]*" ; newline and maybe whitespace "\\(class[ \t]+[a-zA-Z0-9_]+\\)" ; class name ; possibly multiple superclasses - "\\([ \t]*\\((\\([a-zA-Z0-9_, \t\n]\\)*)\\)?\\)" + "\\([ \t]*\\((\\([a-zA-Z0-9_,. \t\n]\\)*)\\)?\\)" "[ \t]*:" ; and the final : "\\)" ; >>classes<< )
