Function: python-shell-internal-send-string
python-shell-internal-send-string is a byte-compiled function defined
in python.el.gz.
Signature
(python-shell-internal-send-string STRING)
Documentation
Send STRING to the Internal Python interpreter.
Returns the output. See python-shell-send-string-no-output.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-shell-internal-send-string (string)
"Send STRING to the Internal Python interpreter.
Returns the output. See `python-shell-send-string-no-output'."
;; XXX Remove `python-shell-internal-last-output' once CEDET is
;; updated to support this new mode.
(setq python-shell-internal-last-output
(python-shell-send-string-no-output
;; Makes this function compatible with the old
;; python-send-receive. (At least for CEDET).
(replace-regexp-in-string "_emacs_out +" "" string)
(python-shell-internal-get-or-create-process))))