@@ -899,6 +899,9 @@ msgid ""
899899"useful for pseudo instructions. Use the new :data:`dis.hasarg` collection "
900900"instead. (Contributed by Irit Katriel in :gh:`94216`.)"
901901msgstr ""
902+ "伪指令操作码(由编译器使用但不会出现在可执行字节码中)现在将暴露在 :mod:`dis` 模块中。 :opcode:`HAVE_ARGUMENT` "
903+ "仍然与实际的操作码相关,但对伪指令来说没有用处。 请改用新的 :data:`dis.hasarg` 多项集。 (由 Irit Katriel 在 "
904+ ":gh:`94216` 中贡献。)"
902905
903906#: ../../whatsnew/3.12.rst:635
904907msgid "fractions"
@@ -1070,13 +1073,18 @@ msgid ""
10701073"Subclasses may override the :meth:`pathlib.PurePath.with_segments` method to"
10711074" pass information between path instances."
10721075msgstr ""
1076+ "增加对子类化 :class:`pathlib.PurePath` 和 :class:`pathlib.Path`,加上它们的 Posix 和 "
1077+ "Windows 专属变体形式的支持。 子类可以重载 :meth:`pathlib.PurePath.with_segments` "
1078+ "方法来在路径实例之间传递信息。"
10731079
10741080#: ../../whatsnew/3.12.rst:721
10751081msgid ""
10761082"Add :meth:`pathlib.Path.walk` for walking the directory trees and generating"
10771083" all file or directory names within them, similar to :func:`os.walk`. "
10781084"(Contributed by Stanislav Zmiev in :gh:`90385`.)"
10791085msgstr ""
1086+ "添加 :meth:`pathlib.Path.walk` 用于遍历目录树并生成其中的所有文件或目录名,类似于 :func:`os.walk`。 (由 "
1087+ "Stanislav Zmiev 在 :gh:`90385` 中贡献。)"
10801088
10811089#: ../../whatsnew/3.12.rst:725
10821090msgid ""
@@ -1212,13 +1220,19 @@ msgid ""
12121220"handling <sqlite3-transaction-control-autocommit>`. (Contributed by Erlend "
12131221"E. Aasland in :gh:`83638`.)"
12141222msgstr ""
1223+ "向 :class:`sqlite3.Connection` 添加 :attr:`sqlite3.Connection.autocommit` 属性并向 "
1224+ ":func:`sqlite3.connect` 添加 *autocommit* 形参用于控制兼容 :pep:`249` 的 :ref:`事务处理 "
1225+ "<sqlite3-transaction-control-autocommit>`。 (由 Erlend E. Aasland 在 "
1226+ ":gh:`83638` 中贡献。)"
12151227
12161228#: ../../whatsnew/3.12.rst:797
12171229msgid ""
12181230"Add *entrypoint* keyword-only parameter to "
12191231":meth:`sqlite3.Connection.load_extension`, for overriding the SQLite "
12201232"extension entry point. (Contributed by Erlend E. Aasland in :gh:`103015`.)"
12211233msgstr ""
1234+ "向 :meth:`sqlite3.Connection.load_extension` 添加 *entrypoint* 仅限关键字形参,用于覆盖 "
1235+ "SQLite 扩展入口点。 (由 Erlend E. Aasland 在 :gh:`103015` 中贡献。)"
12221236
12231237#: ../../whatsnew/3.12.rst:802
12241238msgid ""
@@ -1227,6 +1241,9 @@ msgid ""
12271241"configuration changes to a database connection. (Contributed by Erlend E. "
12281242"Aasland in :gh:`103489`.)"
12291243msgstr ""
1244+ "向 :class:`sqlite3.Connection` 添加 :meth:`sqlite3.Connection.getconfig` 和 "
1245+ ":meth:`sqlite3.Connection.setconfig` 用于对数据库连接进行配置修改。 (由 Erlend E. Aasland 在 "
1246+ ":gh:`103489` 中贡献。)"
12301247
12311248#: ../../whatsnew/3.12.rst:808
12321249msgid "statistics"
@@ -1353,6 +1370,9 @@ msgid ""
13531370":ref:`whatsnew312-porting-to-python312` for more information on the changes "
13541371"to the :mod:`tokenize` module."
13551372msgstr ""
1373+ ":mod:`tokenize` 模块包括了 :pep:`701` 所引入的更改。 (由 Marta Gómez Macías 和 Pablo "
1374+ "Galindo 在 :gh:`102856` 中贡献。) 请参阅 :ref:`whatsnew312-porting-to-python312` "
1375+ "了解有关对 :mod:`tokenize` 模块的更改详情。"
13561376
13571377#: ../../whatsnew/3.12.rst:879
13581378msgid "types"
@@ -1510,6 +1530,8 @@ msgid ""
15101530"Speed up :class:`asyncio.Task` creation by deferring expensive string "
15111531"formatting. (Contributed by Itamar Oren in :gh:`103793`.)"
15121532msgstr ""
1533+ "通过推迟高消耗的字符串格式化来加速 :class:`asyncio.Task` 的创建的。 (由 Itamar Oren 在 :gh:`103793` "
1534+ "中贡献。)"
15131535
15141536#: ../../whatsnew/3.12.rst:992
15151537msgid ""
0 commit comments