Commit 547c60c9 authored by Hugo van Kemenade's avatar Hugo van Kemenade Committed by Raymond Hettinger

Fix minor typos in Whatsnew

parent e634da27
...@@ -183,7 +183,7 @@ keywords, the parameters names remain available for use in ``**kwargs``:: ...@@ -183,7 +183,7 @@ keywords, the parameters names remain available for use in ``**kwargs``::
This greatly simplifies the implementation of functions and methods This greatly simplifies the implementation of functions and methods
that need to accept arbitrary keyword arguments. For example, here that need to accept arbitrary keyword arguments. For example, here
is an except from code in the :mod:`collections` module:: is an excerpt from code in the :mod:`collections` module::
class Counter(dict): class Counter(dict):
...@@ -215,7 +215,7 @@ subdirectories). ...@@ -215,7 +215,7 @@ subdirectories).
Debug build uses the same ABI as release build Debug build uses the same ABI as release build
----------------------------------------------- -----------------------------------------------
Python now uses the same ABI whether it built in release or debug mode. On Python now uses the same ABI whether it's built in release or debug mode. On
Unix, when Python is built in debug mode, it is now possible to load C Unix, when Python is built in debug mode, it is now possible to load C
extensions built in release mode and C extensions built using the stable ABI. extensions built in release mode and C extensions built using the stable ABI.
...@@ -1284,7 +1284,7 @@ Build and C API Changes ...@@ -1284,7 +1284,7 @@ Build and C API Changes
without calling functions. This API is now installed by ``make install``. without calling functions. This API is now installed by ``make install``.
(Contributed by Victor Stinner in :issue:`35134` and :issue:`35081`, (Contributed by Victor Stinner in :issue:`35134` and :issue:`35081`,
work initiated by Eric Snow in Python 3.7) work initiated by Eric Snow in Python 3.7.)
* Some macros have been converted to static inline functions: parameter types * Some macros have been converted to static inline functions: parameter types
and return type are well defined, they don't have issues specific to macros, and return type are well defined, they don't have issues specific to macros,
...@@ -1378,7 +1378,6 @@ Deprecated ...@@ -1378,7 +1378,6 @@ Deprecated
Implementations of these methods have been ignoring their *index* parameter, Implementations of these methods have been ignoring their *index* parameter,
and returning the next item instead. and returning the next item instead.
(Contributed by Berker Peksag in :issue:`9372`.) (Contributed by Berker Peksag in :issue:`9372`.)
* The :class:`typing.NamedTuple` class has deprecated the ``_field_types`` * The :class:`typing.NamedTuple` class has deprecated the ``_field_types``
...@@ -1411,7 +1410,6 @@ Deprecated ...@@ -1411,7 +1410,6 @@ Deprecated
parameter of functions :func:`~gettext.translation` and parameter of functions :func:`~gettext.translation` and
:func:`~gettext.install` are also deprecated, since they are only used for :func:`~gettext.install` are also deprecated, since they are only used for
for the ``l*gettext()`` functions. for the ``l*gettext()`` functions.
(Contributed by Serhiy Storchaka in :issue:`33710`.) (Contributed by Serhiy Storchaka in :issue:`33710`.)
* The :meth:`~threading.Thread.isAlive()` method of :class:`threading.Thread` has been deprecated. * The :meth:`~threading.Thread.isAlive()` method of :class:`threading.Thread` has been deprecated.
...@@ -1493,11 +1491,11 @@ The following features and APIs have been removed from Python 3.8: ...@@ -1493,11 +1491,11 @@ The following features and APIs have been removed from Python 3.8:
* The ``bufsize`` keyword argument of :func:`fileinput.input` and * The ``bufsize`` keyword argument of :func:`fileinput.input` and
:func:`fileinput.FileInput` which was ignored and deprecated since Python 3.6 :func:`fileinput.FileInput` which was ignored and deprecated since Python 3.6
has been removed. :issue:`36952` (Contributed by Matthias Bussonnier) has been removed. :issue:`36952` (Contributed by Matthias Bussonnier.)
* The functions :func:`sys.set_coroutine_wrapper` and * The functions :func:`sys.set_coroutine_wrapper` and
:func:`sys.get_coroutine_wrapper` deprecated in Python 3.7 have been removed; :func:`sys.get_coroutine_wrapper` deprecated in Python 3.7 have been removed;
:issue:`36933` (Contributed by Matthias Bussonnier) :issue:`36933` (Contributed by Matthias Bussonnier.)
Porting to Python 3.8 Porting to Python 3.8
...@@ -1523,7 +1521,7 @@ Changes in Python behavior ...@@ -1523,7 +1521,7 @@ Changes in Python behavior
(Contributed by Serhiy Storchaka in :issue:`34850`.) (Contributed by Serhiy Storchaka in :issue:`34850`.)
* The CPython interpreter can swallow exceptions in some circumstances. * The CPython interpreter can swallow exceptions in some circumstances.
In Python 3.8 this happens in less cases. In particular, exceptions In Python 3.8 this happens in fewer cases. In particular, exceptions
raised when getting the attribute from the type dictionary are no longer raised when getting the attribute from the type dictionary are no longer
ignored. (Contributed by Serhiy Storchaka in :issue:`35459`.) ignored. (Contributed by Serhiy Storchaka in :issue:`35459`.)
...@@ -1620,7 +1618,7 @@ Changes in the Python API ...@@ -1620,7 +1618,7 @@ Changes in the Python API
16 KiB to 1 MiB. 16 KiB to 1 MiB.
* The ``PyGC_Head`` struct has changed completely. All code that touched the * The ``PyGC_Head`` struct has changed completely. All code that touched the
struct member should be rewritten. (See :issue:`33597`) struct member should be rewritten. (See :issue:`33597`.)
* The ``PyInterpreterState`` struct has been moved into the "internal" * The ``PyInterpreterState`` struct has been moved into the "internal"
header files (specifically Include/internal/pycore_pystate.h). An header files (specifically Include/internal/pycore_pystate.h). An
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment