Override 'and' and 'or'
Bruno Desthuilliers
bruno.42.desthuilliers at wtf.websiteburo.oops.com
Sun Oct 7 11:48:53 EDT 2007
Steven D'Aprano a écrit :
> On Sun, 07 Oct 2007 16:24:35 +0200, Wildemar Wildenburger wrote:
>
>> Wildemar Wildenburger wrote:
>>> [whate everyone else wrote :(]
>>>
>>> /W
>> Dangit! 4th of 4.
>> Gotta type quicker.
>
>
> That's okay, in two weeks time there will be 139 messages in this thread,
> it will have devolved into an argument about whether Python's truth-
> testing semantics are better or worse than whatever Java/Lisp/Haskell/
> Ruby does, and *then* somebody will respond to the Original Poster with
> "customize the __and__ and __or__ methods of your class".
keyboard !-)
More information about the Python-list
mailing list