From cf014413159c1fa2e8b1c1201c07b648b8b0adf2 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sun, 20 Nov 2016 08:37:21 +0000 Subject: [PATCH] Fix typos in documentation --- Doc/library/email.message.rst | 2 +- Misc/NEWS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 6ea37bb2c2a..e9d2f7d85a8 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -366,7 +366,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.