File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 90.49 %" , "updated_at" : " 2023-09-10T02:07:17Z " }
1+ {"translation" : " 90.50 %" , "updated_at" : " 2023-09-10T02:56:51Z " }
Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ msgid ""
9999":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
100100":c:expr:`PyObject*`."
101101msgstr ""
102+ "这与 :c:func:`PyDict_SetItem` 相同,但 *key* 被指定为 :c:expr:`const char*` UTF-8 "
103+ "编码的字节串,而不是 :c:expr:`PyObject*`。"
102104
103105#: ../../c-api/dict.rst:80
104106msgid ""
@@ -117,6 +119,8 @@ msgid ""
117119":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
118120":c:expr:`PyObject*`."
119121msgstr ""
122+ "这与 :c:func:`PyDict_DelItem` 相同,但 *key* 被指定为 :c:expr:`const char*` UTF-8 "
123+ "编码的字节串,而不是 :c:expr:`PyObject*`。"
120124
121125#: ../../c-api/dict.rst:95
122126msgid ""
Original file line number Diff line number Diff line change @@ -1419,6 +1419,10 @@ msgid ""
14191419"resolution, and :func:`getaddrinfo` should be used instead for IPv4/v6 dual "
14201420"stack support."
14211421msgstr ""
1422+ "将一个主机名转换为 IPv4 地址格式的扩展接口。 返回一个 3 元组 ``(hostname, aliaslist, ipaddrlist)`` 其中"
1423+ " *hostname* 是主机的首选主机名,*aliaslist* 是同一地址的备选主机名列表(可能为空),而 *ipaddrlist* "
1424+ "是同一主机上同一接口的 IPv4 地址列表(通常为单个地址但并不总是如此)。 :func:`gethostbyname_ex` 不支持 IPv6 "
1425+ "名称解析,应当改用 :func:`getaddrinfo` 来提供 IPv4/v6 双栈支持。"
14221426
14231427#: ../../library/socket.rst:997
14241428msgid ""
@@ -1448,6 +1452,10 @@ msgid ""
14481452"qualified domain name, use the function :func:`getfqdn`. "
14491453":func:`gethostbyaddr` supports both IPv4 and IPv6."
14501454msgstr ""
1455+ "返回一个 3 元组 ``(hostname, aliaslist, ipaddrlist)`` 其中 *hostname* 是响应给定 "
1456+ "*ip_address* 的首选主机名,*aliaslist* 是同一地址的备选主机名列表(可能为空),而 *ipaddrlist* "
1457+ "是同一主机上同一接口的 IPv4/v6 地址列表(很可能仅包含一个地址)。 要查询完整限定域名,请使用函数 :func:`getfqdn`。 "
1458+ ":func:`gethostbyaddr` 同时支持 IPv4 和 IPv6。"
14511459
14521460#: ../../library/socket.rst:1027
14531461msgid ""
You can’t perform that action at this time.
0 commit comments