A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-October/029123.html below:

[Python-Dev] the not operator (and the __not__ special method)

[Python-Dev] the not operator (and the __not__ special method) [Python-Dev] the not operator (and the __not__ special method)Mark McEahern marklists@mceahern.com
Thu, 3 Oct 2002 16:36:01 -0500
http://www.python.org/doc/current/lib/module-operator.html

says

not_(o)
__not__(o)
Return the outcome of not o. (Note that there is no __not__() method for
object instances; only the interpreter core defines this operation. The
result is affected by the __nonzero__() and __len__() methods.)

// m




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