> Message: 4 > Date: Fri, 10 Sep 2004 12:58:23 +1200 > From: Greg Ewing <greg at cosc.canterbury.ac.nz> > Subject: [Python-Dev] ANN: PEP 335: Overloadable Boolean Operators > To: python-dev at python.org > Message-ID: > <200409100058.i8A0wNIV002743 at cosc353.cosc.canterbury.ac.nz> > > > Python does not currently provide any '__xxx__' special methods > corresponding to the 'and', 'or' and 'not' boolean operators. I like the PEP with 'and' and 'or', but isn't the 'not' special method essentially the inverse of __nonzero__? -Michel
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4