diff options
author | Barry Warsaw <barry@python.org> | 1998-08-10 21:46:24 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-08-10 21:46:24 (GMT) |
commit | 650e8a6db2dbcfe01938d28d47b133e22d31ce74 (patch) | |
tree | 6478a1a8e465c52e11a8cf8efadb13047c1b17a2 | |
parent | 12c9294ea395100ca24ba90af2798e8b7ca968b5 (diff) | |
download | cpython-650e8a6db2dbcfe01938d28d47b133e22d31ce74.zip cpython-650e8a6db2dbcfe01938d28d47b133e22d31ce74.tar.gz cpython-650e8a6db2dbcfe01938d28d47b133e22d31ce74.tar.bz2 |
(imenu-example--python-method-regexp): Patch from Christian Tanzer:
"3.67 fixes Imenu as far as classes are concerned, but some default
values for function arguments are still not supported."
This ought to fix that problem.
-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 7c02026..b0f0ab6 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -778,7 +778,7 @@ package. Note that the latest X/Emacs releases contain this package.") "\\(def[ \t]+" ; function definitions start with def "\\([a-zA-Z0-9_]+\\)" ; name is here ; function arguments... - "[ \t]*(\\([a-zA-Z0-9_=,\* \t\n]*\\))" + "[ \t]*(\\([-+/a-zA-Z0-9_=,\* \t\n.()\"'#]*\\))" "\\)" ; end of def "[ \t]*:" ; and then the : "\\)" ; >>methods and functions<< |