diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst index 95136d2b84a..32852e70698 100644 --- a/Doc/library/email.message.rst +++ b/Doc/library/email.message.rst @@ -275,7 +275,7 @@ message objects. only the key will be added. If the value contains non-ASCII characters, the charset and language may - be explicitly controlled by specifing the value as a three tuple in the + be explicitly controlled by specifying the value as a three tuple in the format ``(CHARSET, LANGUAGE, VALUE)``, where ``CHARSET`` is a string naming the charset to be used to encode the value, ``LANGUAGE`` can usually be set to ``None`` or the empty string (see :rfc:`2231` for other diff --git a/Misc/NEWS b/Misc/NEWS index bbd0b4179f6..72fb96c066f 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -295,7 +295,7 @@ Library if pass invalid string-like object as a name. Patch by Xiang Zhang. - Issue #18844: random.choices() now has k as a keyword-only argument - to improve the readability of common cases and the come into line + to improve the readability of common cases and come into line with the signature used in other languages. - Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py.