@@ -17,7 +17,7 @@ msgid ""
17
17
msgstr ""
18
18
"Project-Id-Version : Python 3.9\n "
19
19
"Report-Msgid-Bugs-To : \n "
20
- "POT-Creation-Date : 2024-03-29 21:52 +0000\n "
20
+ "POT-Creation-Date : 2024-04-05 21:32 +0000\n "
21
21
"PO-Revision-Date : 2017-02-16 23:44+0000\n "
22
22
"Last-Translator : Freesand Leo <yuqinju@163.com>, 2024\n "
23
23
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1274,6 +1274,10 @@ msgid ""
1274
1274
":mod:`~email.generator` in order to pass formatting parameters to its "
1275
1275
"``flatten`` method. (Contributed by R. David Murray in :issue:`18600`.)"
1276
1276
msgstr ""
1277
+ "现在 :meth:`~email.message.Message.as_string` 接受一个 *policy* "
1278
+ "参数用于在生成其字符串表示形式时重写默认的消息策略。 这意味着 ``as_string`` 现在可以在更多情况下被使用,而不必创建和使用 "
1279
+ ":mod:`~email.generator` 来将已格式化的形参传递给其 ``flatten`` 方法。 (由 R. David Murray 在 "
1280
+ ":issue:`18600` 中贡献。)"
1277
1281
1278
1282
#: ../../whatsnew/3.4.rst:802
1279
1283
msgid ""
@@ -2319,6 +2323,9 @@ msgid ""
2319
2323
"streamed unpacking of a buffer containing repeated instances of a given "
2320
2324
"format of data. (Contributed by Antoine Pitrou in :issue:`17804`.)"
2321
2325
msgstr ""
2326
+ "新增函数 :mod:`~struct.iter_unpack` 和在已编译格式上的新增方法 "
2327
+ ":meth:`struct.Struct.iter_unpack` 提供了对包含给定格式数据的重复实例的缓冲区的流式解包功能。 (由 Antoine "
2328
+ "Pitrou 在 :issue:`17804` 中贡献。)"
2322
2329
2323
2330
#: ../../whatsnew/3.4.rst:1517
2324
2331
msgid "subprocess"
@@ -2330,13 +2337,17 @@ msgid ""
2330
2337
" used to provide the contents of ``stdin`` for the command that is run. "
2331
2338
"(Contributed by Zack Weinberg in :issue:`16624`.)"
2332
2339
msgstr ""
2340
+ "现在 :func:`~subprocess.check_output` 接受一个 *input* 参数用于为所运行的命令提供 ``stdin`` "
2341
+ "的内容。 (由 Zack Weinberg 在 :issue:`16624` 中贡献。)"
2333
2342
2334
2343
#: ../../whatsnew/3.4.rst:1523
2335
2344
msgid ""
2336
2345
":func:`~subprocess.getstatus` and :func:`~subprocess.getstatusoutput` now "
2337
2346
"work on Windows. This change was actually inadvertently made in 3.3.4. "
2338
2347
"(Contributed by Tim Golden in :issue:`10197`.)"
2339
2348
msgstr ""
2349
+ "现在 :func:`~subprocess.getstatus` 和 :func:`~subprocess.getstatusoutput` 已适用于 "
2350
+ "Windows。 这一修改是在 3.3.4 中意外实施的。 (由 Tim Golden 在 :issue:`10197` 中贡献。)"
2340
2351
2341
2352
#: ../../whatsnew/3.4.rst:1529
2342
2353
msgid "sunau"
@@ -2347,6 +2358,8 @@ msgid ""
2347
2358
"The :meth:`~sunau.getparams` method now returns a namedtuple rather than a "
2348
2359
"plain tuple. (Contributed by Claudiu Popa in :issue:`18901`.)"
2349
2360
msgstr ""
2361
+ "现在 :meth:`~sunau.getparams` 方法将返回一个具名元组而不是普通元组。 (由 Claudiu Popa 在 "
2362
+ ":issue:`18901` 中贡献。)"
2350
2363
2351
2364
#: ../../whatsnew/3.4.rst:1534
2352
2365
msgid ""
@@ -2355,6 +2368,8 @@ msgid ""
2355
2368
" be called automatically at the end of the block. (Contributed by Serhiy "
2356
2369
"Storchaka in :issue:`18878`.)"
2357
2370
msgstr ""
2371
+ "现在 :meth:`sunau.open` 已支持上下文管理协议:当在 :keyword:`with` 代码块中使用时,所返回对象的 ``close``"
2372
+ " 方法将在代码块结束时被自动调用。 (由 Serhiy Storchaka 在 :issue:`18878` 中贡献。)"
2358
2373
2359
2374
#: ../../whatsnew/3.4.rst:1539
2360
2375
msgid ""
0 commit comments