File tree 2 files changed +9
-1
lines changed 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
- {"translation" : " 92.42 %" , "updated_at" : " 2024-04-06T12 :26:03Z " }
1
+ {"translation" : " 92.43 %" , "updated_at" : " 2024-04-07T02 :26:05Z " }
Original file line number Diff line number Diff line change @@ -1290,6 +1290,11 @@ msgid ""
1290
1290
"intuitive result: a bytes object containing the fully formatted message. "
1291
1291
"(Contributed by R. David Murray in :issue:`18600`.)"
1292
1292
msgstr ""
1293
+ "新增方法 :meth:`~email.message.Message.as_bytes` 用于产生消息的与 ``as_string`` "
1294
+ "所产生的字符串表示形式类似的字节串表示形式。 它不接受 *maxheaderlen* 参数,但接受 *unixfrom* 和 *policy* 参数。 "
1295
+ ":class:`~email.message.Message` 的 :meth:`~email.message.Message.__bytes__` "
1296
+ "方法将调用它,这意味着现在 ``bytes(mymsg)`` 将产生直观的结果:一个包含完整已格式化消息的字节串对象。 (由 R. David "
1297
+ "Murray 在 :issue:`18600` 中贡献。)"
1293
1298
1294
1299
#: ../../whatsnew/3.4.rst:811
1295
1300
msgid ""
@@ -1299,6 +1304,9 @@ msgid ""
1299
1304
"the default is ``False``. (Contributed by R. David Murray in "
1300
1305
":issue:`18891`.)"
1301
1306
msgstr ""
1307
+ "现在 :meth:`.Message.set_param` 消息接受一个 *replace* 关键字参数。 "
1308
+ "当指定该参数时,关联的标头将被更新而不会修改其在标头列表中的位置。 为了保持向下兼容,该参数默认值为 ``False``。 (由 R. David "
1309
+ "Murray 在 :issue:`18891` 中贡献。)"
1302
1310
1303
1311
#: ../../whatsnew/3.4.rst:819
1304
1312
msgid ""
You can’t perform that action at this time.
0 commit comments