From b0f0991cdb584626c4cecdc307caacd4a6b5c2c0 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 5 Jul 2010 17:48:38 +0000 Subject: [PATCH] #9166: NotImplemented is not an exception. --- Doc/whatsnew/2.7.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index 43a01247d9..cea055758d 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -1072,7 +1072,7 @@ changes, or look through the Subversion logs for all the details. (Added by Raymond Hettinger; :issue:`1818`.) Finally, the :class:`~collections.Mapping` abstract base class now - raises a :exc:`NotImplemented` exception if a mapping is compared to + returns :const:`NotImplemented` if a mapping is compared to another type that isn't a :class:`Mapping`. (Fixed by Daniel Stutzbach; :issue:`8729`.) -- 2.40.0