From: R David Murray Date: Mon, 10 Mar 2014 15:02:45 +0000 (-0400) Subject: whatsnew: total_ordering supports NotImplemented (#10042) X-Git-Tag: v3.4.1rc1~233^2~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5f5d69517c7a95703e0e214a673ae2452f2c66b;p=python whatsnew: total_ordering supports NotImplemented (#10042) --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 2f1c9049d3..ed72fedaa2 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -811,6 +811,10 @@ stdlib; in CPython it is overridden by the C accelerated version, but it is available for other implementations to use. (Contributed by Brian Thorne in :issue:`12428`.) +:func:`~functools.total_ordering` now supports a return value of +:const:`NotImplemented` from the underlying comparison function. (Contributed +by Katie Miller in :issue:`10042`.) + gc --