Skip to content

Commit e5c4922

Browse files
committed
Add news entry
1 parent 28e04d3 commit e5c4922

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
The default error message is now generated from ``name`` and
2+
``obj`` attributes of :exc:`AttributeError` when both are set and
3+
the exception was constructed with no positional arguments, or with
4+
a single positional argument equal to :attr:`name`. Patch by Bartosz Sławecki.

0 commit comments

Comments
 (0)