aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index d83af83b32e..ccbcb081305 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -4585,9 +4585,7 @@ Interactively, prompt for symbol."
4585 (interactive 4585 (interactive
4586 (let ((symbol (python-eldoc--get-symbol-at-point)) 4586 (let ((symbol (python-eldoc--get-symbol-at-point))
4587 (enable-recursive-minibuffers t)) 4587 (enable-recursive-minibuffers t))
4588 (list (read-string (if symbol 4588 (list (read-string (format-prompt "Describe symbol" symbol)
4589 (format "Describe symbol (default %s): " symbol)
4590 "Describe symbol: ")
4591 nil nil symbol)))) 4589 nil nil symbol))))
4592 (message (python-eldoc--get-doc-at-point symbol))) 4590 (message (python-eldoc--get-doc-at-point symbol)))
4593 4591