s = 5 // 2 if s == 2: print(s)
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?
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
Was your question correctly tagged python ?
We're working on an explicit override in cases where this isn't specific enough.