Mercurial > cpython-lru_cache-weakref
diff Misc/python-mode.el @ 4189:03f2c21aecaf legacy-trunk
(py-dump-help-string): Use documentation-property to get docstring.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Tue, 03 Sep 1996 18:17:04 +0000 |
| parents | c796ae115783 |
| children | d23f78730e00 |
line wrap: on
line diff
--- a/Misc/python-mode.el Tue Sep 03 16:38:30 1996 +0000 +++ b/Misc/python-mode.el Tue Sep 03 18:17:04 1996 +0000 @@ -1789,8 +1789,7 @@ (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: "
