mirror of
https://github.com/ct-Open-Source/tuya-convert.git
synced 2026-03-07 08:57:03 +01:00
Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. In Python >= 3.8, these instances will raise SyntaxWarnings so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8