This is related to that comment
The Python parser seems to consider *
and **
as modifier as specified there:
And never as arithmetic operator (but are ok as update operator) - although the grammar is defined there:
This is highlighted in the following snapshots in which modifier are bold green and operator purple

Is there a way to improve the parser to distinguish the two usages for *
and **
?
marijn
2
That was unintentional. This patch should help.