Enumeration idioms: Values from different enumerations
Max
rabkin at mweb[DOT]co[DOT]za
Fri Dec 23 16:51:22 EST 2005
Steven D'Aprano wrote:
>
>>They certainly don't look much further from being integers than
>>booleans do.
>
>
> You think?
>
> hamburger, steak, fish, chicken, pizza
>
> What meaning do you give to steak**fish? Should that meaning change if I
> happened to have written pizza first instead of last?
What meaning do you give to True**False?
>
> The fact that they can be counted shouldn't fool you into thinking they
> are numbers.
>
>
>
--Max
More information about the Python-list
mailing list