mirror of
https://github.com/python/cpython.git
synced 2025-09-29 19:56:59 +00:00
Typo fix.
This commit is contained in:
parent
62f52c484d
commit
326c57d1d9
1 changed files with 2 additions and 2 deletions
|
@ -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.environ`, :func:`os.getenvb` function and
|
||||||
:data:`os.supports_bytes_environ` constant.
|
: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
|
default (strict mode), it raises an UnicodeDecodeError on undecodable byte
|
||||||
sequence and UnicodeEncodeError on unencodable character. To get the ``'mbcs'``
|
sequence and UnicodeEncodeError on unencodable character. To get the ``'mbcs'``
|
||||||
encoding of Python 3.1, use ``'ignore'`` error handler to decode and
|
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
|
* The :mod:`nntplib` module was reworked extensively, meaning that its APIs
|
||||||
are often incompatible with the 3.1 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`.
|
to :class:`bytes`.
|
||||||
|
|
||||||
* PyArg_Parse*() functions:
|
* PyArg_Parse*() functions:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue