mirror of
https://github.com/python/cpython.git
synced 2025-07-22 18:55:22 +00:00
(py-dump-help-string): Use documentation-property to get docstring.
This commit is contained in:
parent
b1f895150a
commit
604cefa8df
1 changed files with 1 additions and 2 deletions
|
@ -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: "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue