Skip to content

Commit ab72bac

Browse files
Merge branch 'fix/email_utils_collapse_non3_tuple' of https://github.com/stefanzetzsche/cpython into fix/email_utils_collapse_non3_tuple
2 parents 741d554 + 972b489 commit ab72bac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +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`.

0 commit comments

Comments
 (0)