File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -368,6 +368,10 @@ msgid ""
368368":attr:`esmtp_features` will be a dictionary containing the names of the SMTP"
369369" service extensions this server supports, and their parameters (if any)."
370370msgstr ""
371+ "使用 ``EHLO`` 向 ESMTP 服务器标识自身。hostname 参数默认为 localhost 的标准域名。使用 "
372+ ":meth:`has_extn` 来检查响应中的 ESMTP 选项,并将它们保存起来。还给一些信息性的属性赋值:服务器返回的消息存储为 "
373+ ":attr:`ehlo_resp` 属性;根据服务器是否支持 ESMTP,将 :attr:`does_esmtp` 设置为 true 或 false;而"
374+ " :attr:`esmtp_features` 是一个字典,包含该服务器支持的 SMTP 服务扩展的名称及参数(如果有参数)。"
371375
372376#: ../../library/smtplib.rst:286
373377msgid ""
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ msgstr "列表详解"
4646msgid ""
4747"The list data type has some more methods. Here are all of the methods of "
4848"list objects:"
49- msgstr "列表数据类型支持很多方法,以下是列表对象支持的所有方法 :"
49+ msgstr "列表数据类型支持很多方法,列表对象的所有方法所示如下 :"
5050
5151#: ../../tutorial/datastructures.rst:22
5252msgid ""
@@ -57,15 +57,15 @@ msgstr "在列表末尾添加一个元素,相当于 ``a[len(a):] = [x]`` 。"
5757msgid ""
5858"Extend the list by appending all the items from the iterable. Equivalent to"
5959" ``a[len(a):] = iterable``."
60- msgstr "用可迭代对象中的元素扩展列表 。相当于 ``a[len(a):] = iterable`` 。"
60+ msgstr "用可迭代对象的元素扩展列表 。相当于 ``a[len(a):] = iterable`` 。"
6161
6262#: ../../tutorial/datastructures.rst:35
6363msgid ""
6464"Insert an item at a given position. The first argument is the index of the "
6565"element before which to insert, so ``a.insert(0, x)`` inserts at the front "
6666"of the list, and ``a.insert(len(a), x)`` is equivalent to ``a.append(x)``."
6767msgstr ""
68- "在指定位置插入元素。第一个参数是插入元素的索引,因此,``a.insert(0, x)`` 插在列表开头 , ``a.insert(len(a), "
68+ "在指定位置插入元素。第一个参数是插入元素的索引,因此,``a.insert(0, x)`` 在列表开头插入元素 , ``a.insert(len(a), "
6969"x)`` 等同于 ``a.append(x)`` 。"
7070
7171#: ../../tutorial/datastructures.rst:43
You can’t perform that action at this time.
0 commit comments