summaryrefslogtreecommitdiff
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 6058fbfe800..6b508e03a04 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2118,8 +2118,7 @@ there for compatibility with CEDET.")
temp-file-name))
(defun python-shell-send-string (string &optional process)
- "Send STRING to inferior Python PROCESS.
-When MSG is non-nil messages the first line of STRING."
+ "Send STRING to inferior Python PROCESS."
(interactive "sPython command: ")
(let ((process (or process (python-shell-get-or-create-process))))
(if (string-match ".\n+." string) ;Multiline.
@@ -2168,8 +2167,7 @@ detecting a prompt at the end of the buffer."
(defun python-shell-send-string-no-output (string &optional process)
"Send STRING to PROCESS and inhibit output.
-When MSG is non-nil messages the first line of STRING. Return
-the output."
+Return the output."
(let ((process (or process (python-shell-get-or-create-process)))
(comint-preoutput-filter-functions
'(python-shell-output-filter))