Bug report
Bug description:
Code like this
should be coloured the same way as
Right now IDLE doesn't respect the slash before the newline and thinks that every new line is a new statement.
Similarly in:
x = match if match else \
match
The last match should be coloured in like a variable and not a keyword.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Bug report
Bug description:
Code like this
should be coloured the same way as
Right now IDLE doesn't respect the slash before the newline and thinks that every new line is a new statement.
Similarly in:
The last
matchshould be coloured in like a variable and not a keyword.CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs