From: Martin Panter Date: Sun, 20 Nov 2016 08:37:21 +0000 (+0000) Subject: Fix typos in documentation X-Git-Tag: v3.6.0b4~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf014413159c1fa2e8b1c1201c07b648b8b0adf2;p=thirdparty%2FPython%2Fcpython.git Fix typos in documentation --- diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst index 95136d2b84aa..32852e706986 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 6ea37bb2c2aa..e9d2f7d85a86 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.