BTW: Take a look at the Style Guide for Python Code (PEP-8) for lots
of really helpful tips.
The empty collections (of which list is one) can be found under
Programming Recommendations of PEP-8:
     http://www.python.org/dev/peps/pep-0008/#programming-recommendations

--Doug




On Wed, May 30, 2012 at 2:48 PM, Niphlod <[email protected]> wrote:
> I am astonished... I missed this in almost 3 years of python development :D
>
> I genuinely repent and knee before you, Anthony ....
>
> Niphlod
>
> Il giorno mercoledì 30 maggio 2012 18:11:32 UTC+2, Anthony ha scritto:
>>
>> On Wednesday, May 30, 2012 11:59:13 AM UTC-4, Niphlod wrote:
>>>
>>> uhm, depends.... if he uses lists and articles is = [], there will be a
>>> problem.....
>>
>>
>> What problem? An empty list evaluates to False.
>>
>> Anthony

Reply via email to