diff options
author | Barry Warsaw <barry@python.org> | 1998-04-04 21:36:53 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-04-04 21:36:53 (GMT) |
commit | 3179fe03cabac46fedf95bd4cc41a150719afad7 (patch) | |
tree | 69968c40a0ef14c146708067a17ee81a1935f38d /Misc | |
parent | 3a0351cf8556a20e5ccfb63ba0dbbdba79684063 (diff) | |
download | cpython-3179fe03cabac46fedf95bd4cc41a150719afad7.zip cpython-3179fe03cabac46fedf95bd4cc41a150719afad7.tar.gz cpython-3179fe03cabac46fedf95bd4cc41a150719afad7.tar.bz2 |
(imenu-example--python-class-regexp): Fix to recognize Module.Class in
inheritance list.
Diffstat (limited to 'Misc')
-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 9aa6475..a183000 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<< ) |