Legitimate use of the "is" comparison operator?

Fredrik Lundh fredrik at pythonware.com
Sat Jun 17 04:40:40 EDT 2006


Mike Duffy wrote:

>> writing broken code is never a good practice.
>>
> With all due respect, for some reason it seems to work on my machine.

if you always work with 5-item sequences, you don't need the test at all.

</F>




More information about the Python-list mailing list