(py-dump-help-string): Use documentation-property to get docstring.

This commit is contained in:
Barry Warsaw 1996-09-03 18:17:04 +00:00
parent b1f895150a
commit 604cefa8df
1 changed files with 1 additions and 2 deletions

View File

@ -1789,8 +1789,7 @@ A `nomenclature' is a fancy way of saying AWordWithMixedCaseNotUnderscores."
(where-is-internal func py-mode-map) (where-is-internal func py-mode-map)
", ")))) ", "))))
((equal funckind "v") ; variable ((equal funckind "v") ; variable
(setq funcdoc (substitute-command-keys (setq funcdoc (documentation-property func 'variable-documentation)
(get func 'variable-documentation))
keys (if (assq func locals) keys (if (assq func locals)
(concat (concat
"Local/Global values: " "Local/Global values: "