Skip to content

Commit 3ac53da

Browse files
committed
Improve blurb message
1 parent 541f59b commit 3ac53da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
The :meth:`email.message.Message.add_header` method now validates header
2-
field names according to :rfc:`5322`.
2+
field names according to :rfc:`5322` when headers are added via add_header
3+
or __setitem__ and raises a ValueError if they contain invalid characters.

0 commit comments

Comments
 (0)