Skip to content

Commit 8cda720

Browse files
authored
gh-114211: Update EmailMessage doc about ordered keys (#114224)
Ordered keys are no longer unlike 'real dict's.
1 parent c1db960 commit 8cda720

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/email.message.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ over the object tree.
4040
The :class:`EmailMessage` dictionary-like interface is indexed by the header
4141
names, which must be ASCII values. The values of the dictionary are strings
4242
with some extra methods. Headers are stored and returned in case-preserving
43-
form, but field names are matched case-insensitively. Unlike a real dict,
44-
there is an ordering to the keys, and there can be duplicate keys. Additional
45-
methods are provided for working with headers that have duplicate keys.
43+
form, but field names are matched case-insensitively. The keys are ordered,
44+
but unlike a real dict, there can be duplicates. Addtional methods are
45+
provided for working with headers that have duplicate keys.
4646

4747
The *payload* is either a string or bytes object, in the case of simple message
4848
objects, or a list of :class:`EmailMessage` objects, for MIME container

0 commit comments

Comments
 (0)