File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -221,6 +221,9 @@ msgid ""
221221":func:`ssl.create_default_context` select the system's trusted CA "
222222"certificates for you."
223223msgstr ""
224+ "*cafile* 、 *capath* 和 *cadefault* 已废弃,转而推荐使用 *context*。请改用 "
225+ ":meth:`ssl.SSLContext.load_cert_chain` 或让 :func:`ssl.create_default_context`"
226+ " 选取系统信任的 CA 证书。"
224227
225228#: ../../library/urllib.request.rst:123
226229msgid ""
@@ -231,6 +234,10 @@ msgid ""
231234":class:`OpenerDirector`, and any class with the appropriate interface will "
232235"work."
233236msgstr ""
237+ "安装一个 :class:`OpenerDirector` 实例,作为默认的全局打开函数。仅当 urlopen 用到该打开函数时才需要安装;否则,只需调用"
238+ " :meth:`OpenerDirector.open` 而不是 "
239+ ":func:`~urllib.request.urlopen`。代码不会检查是否真的属于 :class:`OpenerDirector` "
240+ "类,所有具备适当接口的类都能适用。 "
234241
235242#: ../../library/urllib.request.rst:133
236243msgid ""
You can’t perform that action at this time.
0 commit comments