continuation line

An extra line of a statement that was not finished, shown in the shell with a prompt of three dots instead of >>>.

In more detail

An open parenthesis, bracket or brace makes Python keep reading until it is closed, so an unfinished parenthesis leaves you at a continuation prompt. In a file, a long statement can likewise be split across lines inside brackets.

Related terms

Taught in

References