python-shell-get-process-name

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

(python-shell-get-process-name DEDICATED)

Calculate the appropriate process name for inferior Python process.
If DEDICATED is t returns a string with the form
`python-shell-buffer-name'[`buffer-name'] else returns the value
of `python-shell-buffer-name'.