Skip to content

Commit cacd824

Browse files
authored
Update Misc/NEWS.d/next/Library/2026-08-09-14-06-27.gh-issue-155426.zZVPMd.rst
1 parent 0c1bf69 commit cacd824

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Make sure that the pure Python fallback of :func:`hmac.digest` reject
2-
keys that are neither :class:`bytes` or :class:`bytearray`. Patch by
3-
Bénédikt Tran.
2+
keys that are neither :class:`bytes` or :class:`bytearray`. Previously,
3+
an :exc:`AttributeError` was raised instead of :exc:`TypeError`.
4+
Patch by Bénédikt Tran.

0 commit comments

Comments
 (0)