python-shell-prompt-block-regexp
python-shell-prompt-block-regexp is a variable defined in `python.el
'.
Its value is "\\.\\.\\. "Documentation: Regular expression matching block input prompt of Python shell. It should not contain a caret (^) at the beginning. You can customize this variable.