[Python-Dev] ANN: PEP 335: Overloadable Boolean Operators

Phillip J. Eby pje at telecommunity.com
Fri Sep 10 23:29:51 CEST 2004


At 10:59 PM 9/10/04 +0200, Martin v. Löwis wrote:
>Phillip J. Eby wrote:
>>>I like the PEP with 'and' and 'or', but isn't the 'not' special method
>>>essentially the inverse of __nonzero__?
>>
>>There isn't such a method currently.
>
>Did you mean to say that there is currently no method named __nonzero__?

No; that there was no method named '__not__'.



More information about the Python-Dev mailing list