From 326c57d1d918ff94a174821ffe6590c149054d1c Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 26 Nov 2010 12:10:06 +0000 Subject: [PATCH] Typo fix. --- Doc/whatsnew/3.2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index c4b5125bc9..1edbf5095a 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -657,7 +657,7 @@ The :mod:`os` module has two new functions: :func:`~os.fsencode` and :data:`os.environ`, :func:`os.getenvb` function and :data:`os.supports_bytes_environ` constant. -``'mbcs'`` encoding doesn't ignore the error handler argument anymore. By +``'mbcs'`` encoding doesn't ignore the error handler argument any more. By default (strict mode), it raises an UnicodeDecodeError on undecodable byte sequence and UnicodeEncodeError on unencodable character. To get the ``'mbcs'`` encoding of Python 3.1, use ``'ignore'`` error handler to decode and @@ -721,7 +721,7 @@ require changes to your code: * The :mod:`nntplib` module was reworked extensively, meaning that its APIs are often incompatible with the 3.1 APIs. -* :class:`bytearray` objects cannot be used anymore as filenames: convert them +* :class:`bytearray` objects cannot be used any more as filenames: convert them to :class:`bytes`. * PyArg_Parse*() functions: -- 2.40.0