Also empty containers bool test to false, so if you ever implement
__iter__ and __len__ in one of your base classes the bool test will
probably give you unexpected results.

tl;dr:
- *is* / *is not* test identity
- == != > < test value

Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPamJi-ORiA3HuynLsvGA28VfK400VoTJrRkbKtGk3zx08aQ4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to