* progmodes/python.el (python-shell-send-string):

(python-shell-send-string-no-output): Fix docstring.

Fixes: debbugs:16547
This commit is contained in:
Fabián Ezequiel Gallina 2014-02-04 16:35:52 -03:00
parent 8e5917ecb3
commit dd27d13b50
2 changed files with 7 additions and 4 deletions

View file

@ -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))