question about True values
Antoon Pardon
apardon at forel.vub.ac.be
Fri Oct 27 06:40:43 EDT 2006
On 2006-10-27, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Antoon Pardon wrote:
>
>> The latter will treat None and False the same as [], () and {},
>> which in most of my code is not what I want.
>
> since you never publish any code,
This is not True. You shouldn't confuse your lack of recollection
with reality.
> what you do in your code is not very interesting to anyone.
I doubt I'm the only one who has code that treats None and False
differently from [], () and {}
--
Antoon Pardon
More information about the Python-list
mailing list