mirror of https://github.com/python/cpython
(py-dump-help-string): Use documentation-property to get docstring.
This commit is contained in:
parent
b1f895150a
commit
604cefa8df
|
@ -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: "
|
||||||
|
|
Loading…
Reference in New Issue