File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -464,6 +464,8 @@ msgid ""
464464"To create an opener, instantiate an ``OpenerDirector``, and then call "
465465"``.add_handler(some_handler_instance)`` repeatedly."
466466msgstr ""
467+ "若要创建 opener,请实例化一个 ``OpenerDirector`` ,然后重复调用 "
468+ "``.add_handler(some_handler_instance)`` 。 "
467469
468470#: ../../howto/urllib2.rst:437
469471msgid ""
@@ -472,12 +474,14 @@ msgid ""
472474"adds several handlers by default, but provides a quick way to add more "
473475"and/or override the default handlers."
474476msgstr ""
477+ "或者也可以用 ``build_opener`` ,这是个用单次调用创建 opener 对象的便捷函数。``build_opener`` 默认会添加几个"
478+ " handler,不过还提供了一种快速添加和/或覆盖默认 handler 的方法。"
475479
476480#: ../../howto/urllib2.rst:442
477481msgid ""
478482"Other sorts of handlers you might want to can handle proxies, "
479483"authentication, and other common but slightly specialised situations."
480- msgstr ""
484+ msgstr "可能还需要其他类型的 handler,以便处理代理、身份认证和其他常见但稍微特殊的情况。 "
481485
482486#: ../../howto/urllib2.rst:445
483487msgid ""
You can’t perform that action at this time.
0 commit comments