@@ -160,6 +160,8 @@ msgid ""
160160":class:`ProxyHandler` is default installed and makes sure the requests are "
161161"handled through the proxy."
162162msgstr ""
163+ "此外,如果检测到设置了代理(比如设置了 :envvar:`http_proxy` 之类的环境变量),默认会安装 "
164+ ":class:`ProxyHandler` 并确保通过代理处理请求。"
163165
164166#: ../../library/urllib.request.rst:84
165167msgid ""
@@ -169,19 +171,27 @@ msgid ""
169171" parameter to ``urllib.urlopen``, can be obtained by using "
170172":class:`ProxyHandler` objects."
171173msgstr ""
174+ "Python 2.6 以下版本中留存的 ``urllib.urlopen`` 函数已停止使用了; "
175+ ":func:`urllib.request.urlopen` 对应于传统的 ``urllib2.urlopen`` "
176+ "。对代理服务的处理是通过将字典参数传给 ``urllib.urlopen`` 来完成的,可以用 :class:`ProxyHandler` "
177+ "对象获取到代理处理函数。 "
172178
173179#: ../../library/urllib.request.rst:90
174180msgid ""
175181"Raises an :ref:`auditing event <auditing>` ``urllib.Request`` with arguments"
176182" ``fullurl``, ``data``, ``headers``, ``method``."
177183msgstr ""
184+ "默认会触发一条 :ref:`审计事件 <auditing>` ``urllib.Request`` ,参数 ``fullurl`` 、 ``data``"
185+ " 、``headers`` 、``method`` 均取自请求对象。"
178186
179187#: ../../library/urllib.request.rst:92
180188msgid ""
181189"The default opener raises an :ref:`auditing event <auditing>` "
182190"``urllib.Request`` with arguments ``fullurl``, ``data``, ``headers``, "
183191"``method`` taken from the request object."
184192msgstr ""
193+ "默认会触发一条 :ref:`审计事件 <auditing> ` ``urllib.Request`` ,参数 ``fullurl`` 、``data``"
194+ " 、``headers`` 、``method`` 均取自请求对象。"
185195
186196#: ../../library/urllib.request.rst:96
187197msgid "*cafile* and *capath* were added."
0 commit comments