Skip to content

Commit bd119fa

Browse files
committed
Copyedit
1 parent faaa322 commit bd119fa

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ Improved error messages
635635
misspellings may still result in regular syntax errors.
636636
(Contributed by Pablo Galindo in :gh:`132449`.)
637637

638-
* When unpacking assignment fails due to incorrect number of variables, the
638+
* When an unpacking assignment fails due to an incorrect number of variables, the
639639
error message prints the received number of values in more cases than before.
640640
(Contributed by Tushar Sadhwani in :gh:`122239`.)
641641

@@ -763,7 +763,7 @@ ABI-compatible changes in the future.
763763

764764
Complete the :pep:`587` :ref:`PyConfig C API <pyconfig_api>` by adding
765765
:c:func:`PyInitConfig_AddModule` which can be used to add a built-in extension
766-
module; feature previously referred to as the “inittab”.
766+
module; a feature previously referred to as the “inittab”.
767767

768768
Add :c:func:`PyConfig_Get` and :c:func:`PyConfig_Set` functions to get and set
769769
the current runtime configuration.
@@ -1152,7 +1152,7 @@ Other language changes
11521152
unlike ``\Z``, which has subtly different behavior.
11531153
(Contributed by Serhiy Storchaka in :gh:`133306`.)
11541154

1155-
* ``\B`` in :mod:`regular expression <re>` now matches empty input string.
1155+
* ``\B`` in :mod:`regular expression <re>` now matches the empty input string.
11561156
Now it is always the opposite of ``\b``.
11571157
(Contributed by Serhiy Storchaka in :gh:`124130`.)
11581158

@@ -1221,7 +1221,7 @@ PEP 765: Disallow ``return``/``break``/``continue`` that exit a ``finally`` bloc
12211221
---------------------------------------------------------------------------------
12221222

12231223
The compiler emits a :exc:`SyntaxWarning` when a :keyword:`return`, :keyword:`break` or
1224-
:keyword:`continue` statements appears where it exits a :keyword:`finally` block.
1224+
:keyword:`continue` statement appears where it exits a :keyword:`finally` block.
12251225
This change is specified in :pep:`765`.
12261226

12271227

@@ -1278,7 +1278,7 @@ ast
12781278
(Contributed by Irit Katriel in :gh:`130139`.)
12791279

12801280
* Add new ``--feature-version``, ``--optimize``, ``--show-empty`` options to
1281-
command-line interface.
1281+
the command-line interface.
12821282
(Contributed by Semyon Moroz in :gh:`133367`.)
12831283

12841284

@@ -2157,7 +2157,7 @@ unittest
21572157
:meth:`~unittest.TestCase.assertNotStartsWith`,
21582158
:meth:`~unittest.TestCase.assertEndsWith` and
21592159
:meth:`~unittest.TestCase.assertNotEndsWith` check whether the Unicode
2160-
or byte string starts or ends with particular string(s).
2160+
or byte string starts or ends with particular strings.
21612161

21622162
(Contributed by Serhiy Storchaka in :gh:`71339`.)
21632163

@@ -2231,7 +2231,7 @@ zipfile
22312231
as used by :func:`ZipFile.writestr <zipfile.ZipFile.writestr>`.
22322232
(Contributed by Bénédikt Tran in :gh:`123424`.)
22332233

2234-
* :meth:`zipfile.ZipFile.writestr` now respect ``SOURCE_DATE_EPOCH`` that
2234+
* :meth:`zipfile.ZipFile.writestr` now respects ``SOURCE_DATE_EPOCH`` that
22352235
distributions can set centrally and have build tools consume this in order
22362236
to produce reproducible output.
22372237
(Contributed by Jiahao Li in :gh:`91279`.)
@@ -2839,7 +2839,7 @@ Changes in the Python API
28392839
rather than collecting generation 1.
28402840
* Other calls to :func:`!gc.collect` are unchanged.
28412841

2842-
* The :func:`locale.nl_langinfo` function now sets temporarily the ``LC_CTYPE``
2842+
* The :func:`locale.nl_langinfo` function now temporarily sets the ``LC_CTYPE``
28432843
locale in some cases.
28442844
This temporary change affects other threads.
28452845
(Contributed by Serhiy Storchaka in :gh:`69998`.)
@@ -3019,8 +3019,8 @@ New features
30193019
and get an attribute of the module.
30203020
(Contributed by Victor Stinner in :gh:`128911`.)
30213021

3022-
* Add support for a new ``p`` format unit in :c:func:`Py_BuildValue` that allows to
3023-
take a C integer and produce a Python :class:`bool` object. (Contributed by
3022+
* Add support for a new ``p`` format unit in :c:func:`Py_BuildValue` that allows
3023+
taking a C integer and produces a Python :class:`bool` object. (Contributed by
30243024
Pablo Galindo in :issue:`45325`.)
30253025

30263026
* Add :c:func:`PyUnstable_Object_IsUniqueReferencedTemporary` to determine if an object

0 commit comments

Comments
 (0)