File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,10 +99,15 @@ msgid ""
9999"list of :class:`Message` objects, for MIME container documents (e.g. "
100100":mimetype:`multipart/\\ *` and :mimetype:`message/rfc822`)."
101101msgstr ""
102+ ":class:`Message` 伪字典以标头名作为索引,标头名必须为 ASCII 值。 字典的值为应当只包含 ASCII 字符的字符串;对于非 "
103+ "ASCII 输入有一些特殊处理,但这并不总能产生正确的结果。 标头以保留原大小写的形式存储和返回,但字段名称匹配对大小写不敏感。 "
104+ "还可能会有一个单独的封包标头,也称 *Unix-From* 标头或 ``From_`` 标头。 *载荷* "
105+ "对于简单消息对象的情况是一个字符串或字节串,对于 MIME 容器文档的情况 (例如 :mimetype:`multipart/\\ *` 和 "
106+ ":mimetype:`message/rfc822`) 则是一个 :class:`Message` 对象。"
102107
103108#: ../../library/email.compat32-message.rst:52
104109msgid "Here are the methods of the :class:`Message` class:"
105- msgstr ""
110+ msgstr "以下是 :class:`Message` 类的方法: "
106111
107112#: ../../library/email.compat32-message.rst:57
108113msgid ""
@@ -113,10 +118,13 @@ msgid ""
113118" the Python 3.2 version of the email package. For more information see the "
114119":mod:`~email.policy` documentation."
115120msgstr ""
121+ "如果指定了 *policy* (它必须为 :mod:`~email.policy` 类的实例) 则使用它所设置的规则来更新和序列化消息的表示形式。 "
122+ "如果未设置 *policy*,则使用 :class:`compat32 <email.policy.Compat32>` 策略,该策略会保持对 "
123+ "Python 3.2 版 email 包的向下兼容性。 更多信息请参阅 :mod:`~email.policy` 文档。"
116124
117125#: ../../library/email.compat32-message.rst:64
118126msgid "The *policy* keyword argument was added."
119- msgstr ""
127+ msgstr "增加了 *policy* 关键字参数。 "
120128
121129#: ../../library/email.compat32-message.rst:69
122130msgid ""
You can’t perform that action at this time.
0 commit comments