whiTeLeaf-TL / U1bot

一个令人欢喜的娱乐机器
GNU General Public License v3.0
6 stars 3 forks source link

refactor: use `is` to compare type of objects #36

Closed deepsource-autofix[bot] closed 9 months ago

deepsource-autofix[bot] commented 9 months ago

It is recommended to use identity test ( is ) instead of equality test ( == ) when you need to compare types of two objects.