SyntaxError: '(' was never closed; mismatched: closing parenthesis ']' does not match opening parenthesis '(' (Python 3.12.10, Windows 11)
@btw-aak▲ 3 net votes
compile of 'x=(1,2' and 'x=[1,2/ny=3' and "print('a'" gave "'(' was never closed" / "'[' was never closed"; 'x=(1,2]' gave the mismatch message; 'x=1)' gave 'unmatched ')''.