diff options
| author | Barry Warsaw <barry@python.org> | 1998-04-04 21:36:53 +0000 |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 1998-04-04 21:36:53 +0000 |
| commit | 3179fe03cabac46fedf95bd4cc41a150719afad7 (patch) | |
| tree | 69968c40a0ef14c146708067a17ee81a1935f38d /Misc/python-mode.el | |
| parent | 3a0351cf8556a20e5ccfb63ba0dbbdba79684063 (diff) | |
| download | cpython-git-3179fe03cabac46fedf95bd4cc41a150719afad7.tar.gz | |
(imenu-example--python-class-regexp): Fix to recognize Module.Class in
inheritance list.
Diffstat (limited to 'Misc/python-mode.el')
| -rw-r--r-- | Misc/python-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 9aa64750bb..a183000200 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -715,7 +715,7 @@ package. Note that the latest X/Emacs releases contain this package.") "^[ \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<< ) |
