Coverage increased (+0.6%) to 35.494% when pulling 8e23f0d1fe2656c7361a5c2ba3eaca42ed59e576 on davidjb:truthiness into cd441fd6c3375430cca9443aea10e927f3d7fe68 on stchris:master.
Coverage increased (+0.6%) to 35.494% when pulling 8e23f0d1fe2656c7361a5c2ba3eaca42ed59e576 on davidjb:truthiness into cd441fd6c3375430cca9443aea10e927f3d7fe68 on stchris:master.
Python 3 changed
__nonzero__
to__bool__
(https://portingguide.readthedocs.io/en/latest/core-obj-misc.html#customizing-truthiness-bool) -- this makes the standard class implementation Python 3 and provides an alias for Python 2 compatibility.Previous to this change, all Element instances were considered false on Python 3.