Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c5808 commit db1c8d3Copy full SHA for db1c8d3
1 file changed
library/email.compat32-message.po
@@ -290,6 +290,10 @@ msgid ""
290
" is a string (i.e. :meth:`is_multipart` is ``False``) and *i* is given, a "
291
":exc:`TypeError` is raised."
292
msgstr ""
293
+"传入可选参数 *i* 时,如果 :meth:`is_multipart` 为 ``True``,:meth:`get_payload` "
294
+"将返回载荷从零开始计数的第 *i* 个元素。 如果 *i* 小于 0 或大于等于载荷中的条目数则将引发 :exc:`IndexError`。 "
295
+"如果载荷是一个字符串 (即 :meth:`is_multipart` 为 ``False``) 且给出了 *i*,则会引发 "
296
+":exc:`TypeError`。"
297
298
#: ../../library/email.compat32-message.rst:202
299
msgid ""
0 commit comments