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/2014-November/136886.html below:

[Python-Dev] The role of NotImplemented: What is it for and when should it be used?

[Python-Dev] The role of NotImplemented: What is it for and when should it be used? [Python-Dev] The role of NotImplemented: What is it for and when should it be used?Ethan Furman ethan at stoneleaf.us
Mon Nov 3 20:33:34 CET 2014
Summary:

NotImplemented _should_ be used by the normal and reflected binary methods (__lt__, __add__, __xor__, __rsub__, etc.)

NotImplemented _may_ be used by the in-place binary methods (__iadd__, __ixor__, etc.), but the in-place methods are 
also free to raise an exception.

Correct?

--
~Ethan~
More information about the Python-Dev mailing list

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