Skip to content

Commit 0a7bd9d

Browse files
Update NEWS entry to reflect TypeError change
1 parent ab72bac commit 0a7bd9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Fix :exc:`AttributeError` in :func:`email.utils.collapse_rfc2231_value` when
2-
called with a tuple whose length is not 3. The function now returns a string
3-
representation instead of passing the tuple to :func:`~email.utils.unquote`.
1+
:func:`email.utils.collapse_rfc2231_value` now raises :exc:`TypeError`
2+
instead of :exc:`AttributeError` when called with a value that is neither a
3+
string nor a 3-tuple.

0 commit comments

Comments
 (0)