Mike Meyer enlightened us with:
>> I think type 'object' has only one value, so that's it.
>
> In that case, they should all be equal, right?
>
>>>> object() == object()
> False

You compare instances of the type 'object'. They both have one value:

>>> object()
<object object at 0xb7ddb438>
>>> object()
<object object at 0xb7ddb440>

So the claim "type 'object' has only one value" is true. It's just not
the same value for all instances.

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to