summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1996-09-03 18:17:04 (GMT)
committerBarry Warsaw <barry@python.org>1996-09-03 18:17:04 (GMT)
commit604cefa8df16232c064a2b246e392b13a9e473f6 (patch)
tree3d6570a451accbcfb05a4ed30b02151c785a2ed3
parentb1f895150a470eefa882743a0cef11a64a3e8e3a (diff)
downloadcpython-604cefa8df16232c064a2b246e392b13a9e473f6.zip
cpython-604cefa8df16232c064a2b246e392b13a9e473f6.tar.gz
cpython-604cefa8df16232c064a2b246e392b13a9e473f6.tar.bz2
(py-dump-help-string): Use documentation-property to get docstring.
-rw-r--r--Misc/python-mode.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 357074e..40d805d 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: "