Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76d87bf commit 6e3b5b5Copy full SHA for 6e3b5b5
1 file changed
library/urllib.request.po
@@ -1061,6 +1061,10 @@ msgid ""
1061
"exceptional thing happens (for example, :exc:`MemoryError` should not be "
1062
"mapped to :exc:`URLError`)."
1063
msgstr ""
1064
+"若实现了本方法,则会被父类 :class:`OpenerDirector` 调用。应返回一个类文件对象,类似于 "
1065
+":class:`OpenerDirector` 的 :meth:`open` 的返回值,或返回“None”。触发的异常应为 "
1066
+":exc:`~urllib.error.URLError`,除非发生真的异常(比如 :exc:`MemoryError` 就不应变为 "
1067
+":exc:`URLError`)。"
1068
1069
#: ../../library/urllib.request.rst:740
1070
msgid "This method will be called before any protocol-specific open method."
0 commit comments