Fix typos in documentation

This commit is contained in:
Martin Panter 2016-11-20 08:37:21 +00:00
parent 04b35753f7
commit cf01441315
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ message objects.
only the key will be added. only the key will be added.
If the value contains non-ASCII characters, the charset and language may 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 format ``(CHARSET, LANGUAGE, VALUE)``, where ``CHARSET`` is a string
naming the charset to be used to encode the value, ``LANGUAGE`` can 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 usually be set to ``None`` or the empty string (see :rfc:`2231` for other

View File

@ -366,7 +366,7 @@ Library
if pass invalid string-like object as a name. Patch by Xiang Zhang. 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 - 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. with the signature used in other languages.
- Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py. - Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py.