File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
- {"translation" : " 91.84%" , "updated_at" : " 2024-04-06T12:09:54Z " }
1
+ {"translation" : " 91.84%" , "updated_at" : " 2024-04-07T02:16:10Z " }
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 ""
You can’t perform that action at this time.
0 commit comments