Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
s = 5 // 2
if s == 2:
As you can see the highlighting system treats Python's floor division operator // as the beginning of a comment. But // is not a comment in Python. Is there any solution? Is it a bug?
Was your question correctly tagged python ?
We're working on an explicit override in cases where this isn't specific enough.