Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0f0991

Browse files
committed
#9166: NotImplemented is not an exception.
1 parent 97c694b commit b0f0991

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/whatsnew/2.7.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ changes, or look through the Subversion logs for all the details.
10721072
(Added by Raymond Hettinger; :issue:`1818`.)
10731073

10741074
Finally, the :class:`~collections.Mapping` abstract base class now
1075-
raises a :exc:`NotImplemented` exception if a mapping is compared to
1075+
returns :const:`NotImplemented` if a mapping is compared to
10761076
another type that isn't a :class:`Mapping`.
10771077
(Fixed by Daniel Stutzbach; :issue:`8729`.)
10781078

0 commit comments

Comments
 (0)