]> granicus.if.org Git - python/commitdiff
(py-dump-help-string): Use documentation-property to get docstring.
authorBarry Warsaw <barry@python.org>
Tue, 3 Sep 1996 18:17:04 +0000 (18:17 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 3 Sep 1996 18:17:04 +0000 (18:17 +0000)
Misc/python-mode.el

index 357074ee0fb9731cf92cc16e97c855ff6fa29183..40d805d6f66b89f1e77d91244d70a1d9bc91ce63 100644 (file)
@@ -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: "