[3.12] GH-109190: Copyedit 3.12 What's New: Consistently show module … · python/cpython@5796d69

GitHub

@@ -570,18 +570,18 @@ asyncio

570570 making some use-cases 2x to 5x faster.

571571 (Contributed by Jacob Bower & Itamar O in :gh:`102853`, :gh:`104140`, and :gh:`104138`)

572572573-* On Linux, :mod:`asyncio` uses :class:`~asyncio.PidfdChildWatcher` by default

573+* On Linux, :mod:`asyncio` uses :class:`asyncio.PidfdChildWatcher` by default

574574 if :func:`os.pidfd_open` is available and functional instead of

575-:class:`~asyncio.ThreadedChildWatcher`.

575+:class:`asyncio.ThreadedChildWatcher`.

576576 (Contributed by Kumar Aditya in :gh:`98024`.)

577577578-* The child watcher classes :class:`~asyncio.MultiLoopChildWatcher`,

579-:class:`~asyncio.FastChildWatcher`, :class:`~asyncio.AbstractChildWatcher`

580- and :class:`~asyncio.SafeChildWatcher` are deprecated and

578+* The child watcher classes :class:`asyncio.MultiLoopChildWatcher`,

579+:class:`asyncio.FastChildWatcher`, :class:`asyncio.AbstractChildWatcher`

580+ and :class:`asyncio.SafeChildWatcher` are deprecated and

581581 will be removed in Python 3.14. It is recommended to not manually

582582 configure a child watcher as the event loop now uses the best available

583- child watcher for each platform (:class:`~asyncio.PidfdChildWatcher`

584- if supported and :class:`~asyncio.ThreadedChildWatcher` otherwise).

583+ child watcher for each platform (:class:`asyncio.PidfdChildWatcher`

584+ if supported and :class:`asyncio.ThreadedChildWatcher` otherwise).

585585 (Contributed by Kumar Aditya in :gh:`94597`.)

586586587587* :func:`asyncio.set_child_watcher`, :func:`asyncio.get_child_watcher`,

@@ -615,9 +615,9 @@ calendar

615615csv

616616---

617617618-* Add :const:`~csv.QUOTE_NOTNULL` and :const:`~csv.QUOTE_STRINGS` flags to

618+* Add :const:`csv.QUOTE_NOTNULL` and :const:`csv.QUOTE_STRINGS` flags to

619619 provide finer grained control of ``None`` and empty strings by

620-:class:`~csv.writer` objects.

620+:class:`csv.writer` objects.

621621622622dis

623623---

@@ -627,7 +627,7 @@ dis

627627:mod:`dis` module.

628628:opcode:`HAVE_ARGUMENT` is still relevant to real opcodes,

629629 but it is not useful for pseudo instructions. Use the new

630-:data:`~dis.hasarg` collection instead.

630+:data:`dis.hasarg` collection instead.

631631 (Contributed by Irit Katriel in :gh:`94216`.)

632632633633fractions

@@ -713,11 +713,11 @@ pathlib

713713-------

714714715715* Add support for subclassing :class:`pathlib.PurePath` and

716-:class:`~pathlib.Path`, plus their Posix- and Windows-specific variants.

717- Subclasses may override the :meth:`~pathlib.PurePath.with_segments` method

716+:class:`pathlib.Path`, plus their Posix- and Windows-specific variants.

717+ Subclasses may override the :meth:`pathlib.PurePath.with_segments` method

718718 to pass information between path instances.

719719720-* Add :meth:`~pathlib.Path.walk` for walking the directory trees and generating

720+* Add :meth:`pathlib.Path.walk` for walking the directory trees and generating

721721 all file or directory names within them, similar to :func:`os.walk`.

722722 (Contributed by Stanislav Zmiev in :gh:`90385`.)

723723@@ -786,20 +786,20 @@ sqlite3

786786* Add a :ref:`command-line interface <sqlite3-cli>`.

787787 (Contributed by Erlend E. Aasland in :gh:`77617`.)

788788789-* Add the :attr:`~sqlite3.Connection.autocommit` attribute

790- to :class:`~sqlite3.Connection`

791- and the *autocommit* parameter to :func:`~sqlite3.connect`

789+* Add the :attr:`sqlite3.Connection.autocommit` attribute

790+ to :class:`sqlite3.Connection`

791+ and the *autocommit* parameter to :func:`sqlite3.connect`

792792 to control :pep:`249`-compliant

793793:ref:`transaction handling <sqlite3-transaction-control-autocommit>`.

794794 (Contributed by Erlend E. Aasland in :gh:`83638`.)

795795796796* Add *entrypoint* keyword-only parameter to

797-:meth:`~sqlite3.Connection.load_extension`,

797+:meth:`sqlite3.Connection.load_extension`,

798798 for overriding the SQLite extension entry point.

799799 (Contributed by Erlend E. Aasland in :gh:`103015`.)

800800801-* Add :meth:`~sqlite3.Connection.getconfig` and

802-:meth:`~sqlite3.Connection.setconfig` to :class:`~sqlite3.Connection`

801+* Add :meth:`sqlite3.Connection.getconfig` and

802+:meth:`sqlite3.Connection.setconfig` to :class:`sqlite3.Connection`

803803 to make configuration changes to a database connection.

804804 (Contributed by Erlend E. Aasland in :gh:`103489`.)

805805