Skip to content

Commit 57c4601

Browse files
[3.14] pythongh-123299: Fix typos & grammar and copyedit What's New in 3.14 (pythonGH-138040) (python#138041)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 132b866 commit 57c4601

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Summary -- release highlights
6565
.. This section singles out the most important changes in Python 3.14.
6666
Brevity is key.
6767
68-
Python 3.14 beta is the pre-release of the next version of the Python
68+
Python 3.14 will be the latest stable release of the Python
6969
programming language, with a mix of changes to the language, the
7070
implementation and the standard library.
7171

@@ -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.
@@ -1051,7 +1051,7 @@ Concurrent safe warnings control
10511051
The :class:`warnings.catch_warnings` context manager will now optionally
10521052
use a context variable for warning filters. This is enabled by setting
10531053
the :data:`~sys.flags.context_aware_warnings` flag, either with the ``-X``
1054-
command-line option or an environment variable. This gives predicable
1054+
command-line option or an environment variable. This gives predictable
10551055
warnings control when using :class:`~warnings.catch_warnings` combined with
10561056
multiple threads or asynchronous tasks. The flag defaults to true for the
10571057
free-threaded build and false for the GIL-enabled build.
@@ -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

@@ -2223,15 +2223,15 @@ webbrowser
22232223
supported browsers on macOS.
22242224

22252225

2226-
zipinfo
2226+
zipfile
22272227
-------
22282228

22292229
* Added :func:`ZipInfo._for_archive <zipfile.ZipInfo._for_archive>`
22302230
to resolve suitable defaults for a :class:`~zipfile.ZipInfo` object
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`.)
@@ -2379,7 +2379,7 @@ zlib
23792379
* On Windows, `zlib-ng <https://github.com/zlib-ng/zlib-ng>`__
23802380
is now used as the implementation of the :mod:`zlib` module
23812381
in the default binaries.
2382-
There are no known incompatabilities between ``zlib-ng``
2382+
There are no known incompatibilities between ``zlib-ng``
23832383
and the previously-used ``zlib`` implementation.
23842384
This should result in better performance at all compression levels.
23852385

@@ -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)