From: Georg Brandl Date: Mon, 5 Jul 2010 17:48:38 +0000 (+0000) Subject: #9166: NotImplemented is not an exception. X-Git-Tag: v3.2a1~301 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0f0991cdb584626c4cecdc307caacd4a6b5c2c0;p=thirdparty%2FPython%2Fcpython.git #9166: NotImplemented is not an exception. --- diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index 43a01247d9ae..cea055758d2f 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`.)