Closed luzpaz closed 2 years ago
I didn't know. Thank you!
I learned it via LGTM https://lgtm.com/logs/a5377a114ddd54680fb05f702236df1a10f5d5d6/lang:python
Curious. I didn't know this "compiling robot". Thanks!
Wow. Impressive! Thanks a lot. I didn't know we have so many little bugs everywhere.
"When you compare an object to None, use is rather than ==. None is a singleton object, comparing using == invokes the eq method on the object in question, which may be slower than identity comparison. Comparing to None using the is operator is also easier for other programmers to read."