Implicit conversion to boolean in if and while statements

Chris Angelico rosuav at gmail.com
Tue Feb 12 06:55:19 CET 2013


On Tue, Feb 12, 2013 at 12:06 PM, 88888 Dihedral
<dihedral88888 at googlemail.com> wrote:
> A permanently mutated list is a tuple of constant objects.

I nominate this line as "bemusing head-scratcher of the week".

ChrisA



More information about the Python-list mailing list