python-shell-output-filter

python-shell-output-filter is a compiled Lisp function in `python.el'.

(python-shell-output-filter STRING)

Filter used in `python-shell-send-string-no-output' to grab output.
STRING is the output received to this point from the process.
This filter saves received output from the process in
`python-shell-output-filter-buffer' and stops receiving it after
detecting a prompt at the end of the buffer.