@@ -316,9 +316,7 @@ Other language changes
316316 and compression. Common code patterns which can be optimized with
317317 :func: `~bytearray.take_bytes ` are listed below.
318318
319- (Contributed by Cody Maloney in :gh: `139871 `.)
320-
321- .. list-table :: Suggested Optimizing Refactors
319+ .. list-table :: Suggested optimizing refactors
322320 :header-rows: 1
323321
324322 * - Description
@@ -387,10 +385,12 @@ Other language changes
387385 buffer.resize(n)
388386 data = buffer.take_bytes()
389387
388+ (Contributed by Cody Maloney in :gh: `139871 `.)
389+
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
@@ -776,6 +776,17 @@ unittest
776776 (Contributed by Garry Cairns in :gh: `134567 `.)
777777
778778
779+ venv
780+ ----
781+
782+ * On POSIX platforms, platlib directories will be created if needed when
783+ creating virtual environments, instead of using ``lib64 -> lib `` symlink.
784+ This means purelib and platlib of virtual environments no longer share the
785+ same ``lib `` directory on platforms where :data: `sys.platlibdir ` is not
786+ equal to ``lib ``.
787+ (Contributed by Rui Xi in :gh: `133951 `.)
788+
789+
779790warnings
780791--------
781792
@@ -788,17 +799,6 @@ warnings
788799 (Contributed by Serhiy Storchaka in :gh: `135801 `.)
789800
790801
791- venv
792- ----
793-
794- * On POSIX platforms, platlib directories will be created if needed when
795- creating virtual environments, instead of using ``lib64 -> lib `` symlink.
796- This means purelib and platlib of virtual environments no longer share the
797- same ``lib `` directory on platforms where :data: `sys.platlibdir ` is not
798- equal to ``lib ``.
799- (Contributed by Rui Xi in :gh: `133951 `.)
800-
801-
802802xml.parsers.expat
803803-----------------
804804
@@ -1242,7 +1242,7 @@ Porting to Python 3.15
12421242This section lists previously described changes and other bugfixes
12431243that may require changes to your code.
12441244
1245- * :class: `sqlite3.Connection ` APIs has been cleaned up.
1245+ * :class: `sqlite3.Connection ` APIs have been cleaned up.
12461246
12471247 * All parameters of :func: `sqlite3.connect ` except *database * are now keyword-only.
12481248 * The first three parameters of methods :meth: `~sqlite3.Connection.create_function `
@@ -1262,7 +1262,7 @@ that may require changes to your code.
12621262* :meth: `~mmap.mmap.resize ` has been removed on platforms that don't support the
12631263 underlying syscall, instead of raising a :exc: `SystemError `.
12641264
1265- * Resource warning is now emitted for unclosed
1265+ * A resource warning is now emitted for an unclosed
12661266 :func: `xml.etree.ElementTree.iterparse ` iterator if it opened a file.
12671267 Use its :meth: `!close ` method or the :func: `contextlib.closing ` context
12681268 manager to close it.
0 commit comments