Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c346ca7

Browse files
[po] auto sync
1 parent da7fbc3 commit c346ca7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

library/urllib.request.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ msgid ""
221221
":func:`ssl.create_default_context` select the system's trusted CA "
222222
"certificates for you."
223223
msgstr ""
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
226229
msgid ""
@@ -231,6 +234,10 @@ msgid ""
231234
":class:`OpenerDirector`, and any class with the appropriate interface will "
232235
"work."
233236
msgstr ""
237+
"安装一个 :class:`OpenerDirector` 实例,作为默认的全局打开函数。仅当 urlopen 用到该打开函数时才需要安装;否则,只需调用"
238+
" :meth:`OpenerDirector.open` 而不是 "
239+
":func:`~urllib.request.urlopen`。代码不会检查是否真的属于 :class:`OpenerDirector` "
240+
"类,所有具备适当接口的类都能适用。 "
234241

235242
#: ../../library/urllib.request.rst:133
236243
msgid ""

0 commit comments

Comments
 (0)