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.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 3e204a92cd3..9680a4aa9d5 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3615,9 +3615,12 @@ returns will be used. If not FORCE-PROCESS is passed what
3615 (let ((input (or force-input 3615 (let ((input (or force-input
3616 (python-info-current-symbol t)))) 3616 (python-info-current-symbol t))))
3617 (and input 3617 (and input
3618 (python-shell-send-string-no-output 3618 ;; Prevent resizing the echo area when iPython is
3619 (format python-eldoc-string-code input) 3619 ;; enabled. Bug#18794.
3620 process)))))) 3620 (python-util-strip-string
3621 (python-shell-send-string-no-output
3622 (format python-eldoc-string-code input)
3623 process)))))))
3621 3624
3622(defun python-eldoc-function () 3625(defun python-eldoc-function ()
3623 "`eldoc-documentation-function' for Python. 3626 "`eldoc-documentation-function' for Python.