None highlighted incorrectly after from keyword in Python code
rdbende opened this issue · 4 comments
rdbende commented
rdbende commented
Pygments thinks it's part of a raise Exception from None
statement. It doesn't do it with other constants, like True
.
Moosems commented
Bug to report to Pygments
then?
rdbende commented
Pygments thinks it's part of a raise Exception from None statement. It doesn't do it with other constants, like True.
And I was right. Pull request opened: pygments/pygments#2406