whatsnew: total_ordering supports NotImplemented (#10042)

This commit is contained in:
R David Murray 2014-03-10 11:02:45 -04:00
parent a6ea7a3c8f
commit c5f5d69517
1 changed files with 4 additions and 0 deletions

View File

@ -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
--