mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
#9166: NotImplemented is not an exception.
This commit is contained in:
parent
97c694b90b
commit
b0f0991cdb
@ -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`.)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user