type checker warns about IntFlag bitwise operation results being int

后端 未结 0 978
孤城傲影
孤城傲影 2020-12-28 13:13

PyCharm\'s type checker doesn\'t recognize that bitwise operations on an IntFlag instance are still IntFlags. It gives warnings. The python docs say, "IntFlag membe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题