Skip to content

Commit 51d9243

Browse files
committed
Spelling/grammar
1 parent 4f7f1cd commit 51d9243

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Doc/deprecations/pending-removal-in-future.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ although there is currently no date scheduled for their removal.
7676
* :mod:`mailbox`: Use of StringIO input and text mode is deprecated, use
7777
BytesIO and binary mode instead.
7878

79-
* :mod:`os`: Calling :func:`os.register_at_fork` in multi-threaded process.
79+
* :mod:`os`: Calling :func:`os.register_at_fork` in a multi-threaded process.
8080

8181
* :class:`!pydoc.ErrorDuringImport`: A tuple value for *exc_info* parameter is
8282
deprecated, use an exception instance.

Doc/whatsnew/3.15.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ Other language changes
389389

390390
* Many functions related to compiling or parsing Python code, such as
391391
:func:`compile`, :func:`ast.parse`, :func:`symtable.symtable`,
392-
and :func:`importlib.abc.InspectLoader.source_to_code`, now allow to pass
393-
the module name. It is needed to unambiguous :ref:`filter <warning-filter>`
392+
and :func:`importlib.abc.InspectLoader.source_to_code`, now allow the module
393+
name to be passed. It is needed to unambiguously :ref:`filter <warning-filter>`
394394
syntax warnings by module name.
395395
(Contributed by Serhiy Storchaka in :gh:`135801`.)
396396

@@ -1229,7 +1229,7 @@ Porting to Python 3.15
12291229
This section lists previously described changes and other bugfixes
12301230
that may require changes to your code.
12311231

1232-
* :class:`sqlite3.Connection` APIs has been cleaned up.
1232+
* :class:`sqlite3.Connection` APIs have been cleaned up.
12331233

12341234
* All parameters of :func:`sqlite3.connect` except *database* are now keyword-only.
12351235
* The first three parameters of methods :meth:`~sqlite3.Connection.create_function`
@@ -1249,7 +1249,7 @@ that may require changes to your code.
12491249
* :meth:`~mmap.mmap.resize` has been removed on platforms that don't support the
12501250
underlying syscall, instead of raising a :exc:`SystemError`.
12511251

1252-
* Resource warning is now emitted for unclosed
1252+
* A resource warning is now emitted for an unclosed
12531253
:func:`xml.etree.ElementTree.iterparse` iterator if it opened a file.
12541254
Use its :meth:`!close` method or the :func:`contextlib.closing` context
12551255
manager to close it.

0 commit comments

Comments
 (0)