Boolean comparison & PEP8

Grant Edwards grant.b.edwards at gmail.com
Mon Jul 29 10:16:30 EDT 2019


On 2019-07-29, Michael Torrie <torriem at gmail.com> wrote:
> On 7/28/19 6:04 PM, Chris Angelico wrote:
>> This is a fairly unusual case, though. More commonly, the default
>> would be None, not False, and "if bar is None:" is extremely well
>> known and idiomatic.
>
> Ahh yes, true.

No... None.

;)

-- 
Grant Edwards               grant.b.edwards        Yow! -- I love KATRINKA
                                  at               because she drives a
                              gmail.com            PONTIAC.  We're going
                                                   away now.  I fed the cat.




More information about the Python-list mailing list