From: Barry Warsaw Date: Tue, 3 Sep 1996 18:17:04 +0000 (+0000) Subject: (py-dump-help-string): Use documentation-property to get docstring. X-Git-Tag: v1.4~316 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=604cefa8df16232c064a2b246e392b13a9e473f6;p=thirdparty%2FPython%2Fcpython.git (py-dump-help-string): Use documentation-property to get docstring. --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 357074ee0fb9..40d805d6f66b 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -1789,8 +1789,7 @@ A `nomenclature' is a fancy way of saying AWordWithMixedCaseNotUnderscores." (where-is-internal func py-mode-map) ", ")))) ((equal funckind "v") ; variable - (setq funcdoc (substitute-command-keys - (get func 'variable-documentation)) + (setq funcdoc (documentation-property func 'variable-documentation) keys (if (assq func locals) (concat "Local/Global values: "