[issue21422] int << 0: return the number unmodified

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Mon May 12 20:58:44 CEST 2014


Arfrever Frehtes Taifersar Arahesis added the comment:

Use assertIs, since True == 1, but True is not 1.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21422>
_______________________________________


More information about the Python-bugs-list mailing list