@@ -190,8 +190,8 @@ msgid ""
190190"``urllib.Request`` with arguments ``fullurl``, ``data``, ``headers``, "
191191"``method`` taken from the request object."
192192msgstr ""
193- "默认会触发一条 :ref:`审计事件 <auditing> ` ``urllib.Request`` ,参数 ``fullurl`` 、``data`` "
194- " 、``headers`` 、``method`` 均取自请求对象。"
193+ "默认会为 ``urllib.Request`` 触发一条 :ref:`审计事件 <auditing> ` ,其参数 ``fullurl`` "
194+ "、``data`` 、``headers`` 、``method`` 均取自请求对象。"
195195
196196#: ../../library/urllib.request.rst:96
197197msgid "*cafile* and *capath* were added."
@@ -201,7 +201,7 @@ msgstr "增加了 *cafile* 与 *capath*。"
201201msgid ""
202202"HTTPS virtual hosts are now supported if possible (that is, if "
203203":data:`ssl.HAS_SNI` is true)."
204- msgstr "现在如果可行 (指 :data:`ssl.HAS_SNI` 为真),支持 HTTPS 虚拟主机"
204+ msgstr "只要条件允许 (指 :data:`ssl.HAS_SNI` 为真),现在能够支持 HTTPS 虚拟主机。 "
205205
206206#: ../../library/urllib.request.rst:103
207207msgid "*data* can be an iterable object."
@@ -222,6 +222,9 @@ msgid ""
222222":func:`ssl.create_default_context` select the system's trusted CA "
223223"certificates for you."
224224msgstr ""
225+ "*cafile* 、 *capath* 和 *cadefault* 已废弃,转而推荐使用 *context*。请改用 "
226+ ":meth:`ssl.SSLContext.load_cert_chain` 或让 :func:`ssl.create_default_context`"
227+ " 选取系统信任的 CA 证书。"
225228
226229#: ../../library/urllib.request.rst:122
227230msgid ""
@@ -232,6 +235,10 @@ msgid ""
232235":class:`OpenerDirector`, and any class with the appropriate interface will "
233236"work."
234237msgstr ""
238+ "安装一个 :class:`OpenerDirector` 实例,作为默认的全局打开函数。仅当 urlopen 用到该打开函数时才需要安装;否则,只需调用"
239+ " :meth:`OpenerDirector.open` 而不是 "
240+ ":func:`~urllib.request.urlopen`。代码不会检查是否真的属于 :class:`OpenerDirector` "
241+ "类,所有具备适当接口的类都能适用。 "
235242
236243#: ../../library/urllib.request.rst:132
237244msgid ""
0 commit comments