Skip to content

Commit 547c60c

Browse files
hugovkrhettinger
authored andcommitted
Fix minor typos in Whatsnew
1 parent e634da2 commit 547c60c

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ keywords, the parameters names remain available for use in ``**kwargs``::
183183

184184
This greatly simplifies the implementation of functions and methods
185185
that need to accept arbitrary keyword arguments. For example, here
186-
is an except from code in the :mod:`collections` module::
186+
is an excerpt from code in the :mod:`collections` module::
187187

188188
class Counter(dict):
189189

@@ -215,7 +215,7 @@ subdirectories).
215215
Debug build uses the same ABI as release build
216216
-----------------------------------------------
217217

218-
Python now uses the same ABI whether it built in release or debug mode. On
218+
Python now uses the same ABI whether it's built in release or debug mode. On
219219
Unix, when Python is built in debug mode, it is now possible to load C
220220
extensions built in release mode and C extensions built using the stable ABI.
221221

@@ -567,7 +567,7 @@ The :func:`ast.parse` function has some new flags:
567567
comments" (returned for function definition AST nodes);
568568

569569
* ``feature_version=(3, N)`` allows specifying an earlier Python 3
570-
version. (For example, ``feature_version=(3, 4)`` will treat
570+
version. (For example, ``feature_version=(3, 4)`` will treat
571571
``async`` and ``await`` as non-reserved words.)
572572

573573
New function :func:`ast.get_source_segment` returns the source code
@@ -1284,7 +1284,7 @@ Build and C API Changes
12841284
without calling functions. This API is now installed by ``make install``.
12851285

12861286
(Contributed by Victor Stinner in :issue:`35134` and :issue:`35081`,
1287-
work initiated by Eric Snow in Python 3.7)
1287+
work initiated by Eric Snow in Python 3.7.)
12881288

12891289
* Some macros have been converted to static inline functions: parameter types
12901290
and return type are well defined, they don't have issues specific to macros,
@@ -1378,12 +1378,11 @@ Deprecated
13781378

13791379
Implementations of these methods have been ignoring their *index* parameter,
13801380
and returning the next item instead.
1381-
13821381
(Contributed by Berker Peksag in :issue:`9372`.)
13831382

13841383
* The :class:`typing.NamedTuple` class has deprecated the ``_field_types``
13851384
attribute in favor of the ``__annotations__`` attribute which has the same
1386-
information. (Contributed by Raymond Hettinger in :issue:`36320`.)
1385+
information. (Contributed by Raymond Hettinger in :issue:`36320`.)
13871386

13881387
* :mod:`ast` classes ``Num``, ``Str``, ``Bytes``, ``NameConstant`` and
13891388
``Ellipsis`` are considered deprecated and will be removed in future Python
@@ -1411,7 +1410,6 @@ Deprecated
14111410
parameter of functions :func:`~gettext.translation` and
14121411
:func:`~gettext.install` are also deprecated, since they are only used for
14131412
for the ``l*gettext()`` functions.
1414-
14151413
(Contributed by Serhiy Storchaka in :issue:`33710`.)
14161414

14171415
* 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:
14931491

14941492
* The ``bufsize`` keyword argument of :func:`fileinput.input` and
14951493
:func:`fileinput.FileInput` which was ignored and deprecated since Python 3.6
1496-
has been removed. :issue:`36952` (Contributed by Matthias Bussonnier)
1494+
has been removed. :issue:`36952` (Contributed by Matthias Bussonnier.)
14971495

14981496
* The functions :func:`sys.set_coroutine_wrapper` and
14991497
:func:`sys.get_coroutine_wrapper` deprecated in Python 3.7 have been removed;
1500-
:issue:`36933` (Contributed by Matthias Bussonnier)
1498+
:issue:`36933` (Contributed by Matthias Bussonnier.)
15011499

15021500

15031501
Porting to Python 3.8
@@ -1523,9 +1521,9 @@ Changes in Python behavior
15231521
(Contributed by Serhiy Storchaka in :issue:`34850`.)
15241522

15251523
* The CPython interpreter can swallow exceptions in some circumstances.
1526-
In Python 3.8 this happens in less cases. In particular, exceptions
1524+
In Python 3.8 this happens in fewer cases. In particular, exceptions
15271525
raised when getting the attribute from the type dictionary are no longer
1528-
ignored. (Contributed by Serhiy Storchaka in :issue:`35459`.)
1526+
ignored. (Contributed by Serhiy Storchaka in :issue:`35459`.)
15291527

15301528
* Removed ``__str__`` implementations from builtin types :class:`bool`,
15311529
:class:`int`, :class:`float`, :class:`complex` and few classes from
@@ -1620,7 +1618,7 @@ Changes in the Python API
16201618
16 KiB to 1 MiB.
16211619

16221620
* The ``PyGC_Head`` struct has changed completely. All code that touched the
1623-
struct member should be rewritten. (See :issue:`33597`)
1621+
struct member should be rewritten. (See :issue:`33597`.)
16241622

16251623
* The ``PyInterpreterState`` struct has been moved into the "internal"
16261624
header files (specifically Include/internal/pycore_pystate.h). An

0 commit comments

Comments
 (0)