Why is “is None” ok, but “is True” is not?

前端 未结 0 1851
执念已碎
执念已碎 2021-01-19 03:26

I know that this question has been asked a bunch of times (for this I apologize), and PEP8 "covers" it by saying that if x is True << x ==

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