[Python-Dev] ANN: PEP 335: Overloadable Boolean Operators (original) (raw)

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