[Python-checkins] cpython: whatsnew: total_ordering supports NotImplemented (#10042)
r.david.murray
python-checkins at python.org
Mon Mar 10 23:11:32 CET 2014
http://hg.python.org/cpython/rev/1cc413874631
changeset: 89565:1cc413874631
user: R David Murray <rdmurray at bitdance.com>
date: Mon Mar 10 11:02:45 2014 -0400
summary:
whatsnew: total_ordering supports NotImplemented (#10042)
files:
Doc/whatsnew/3.4.rst | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -811,6 +811,10 @@
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
--
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list