python-shell-get-buffer

python-shell-get-buffer is a compiled Lisp function in `python.el'.

(python-shell-get-buffer)

Return inferior Python buffer for current buffer.
If current buffer is in `inferior-python-mode', return it.