#9166: NotImplemented is not an exception.

This commit is contained in:
Georg Brandl 2010-07-05 17:48:38 +00:00
parent 97c694b90b
commit b0f0991cdb

View File

@ -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`.)