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

Skip to content

Commit 6e3b5b5

Browse files
[po] auto sync
1 parent 76d87bf commit 6e3b5b5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

library/urllib.request.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,10 @@ msgid ""
10611061
"exceptional thing happens (for example, :exc:`MemoryError` should not be "
10621062
"mapped to :exc:`URLError`)."
10631063
msgstr ""
1064+
"若实现了本方法,则会被父类 :class:`OpenerDirector` 调用。应返回一个类文件对象,类似于 "
1065+
":class:`OpenerDirector` 的 :meth:`open` 的返回值,或返回“None”。触发的异常应为 "
1066+
":exc:`~urllib.error.URLError`,除非发生真的异常(比如 :exc:`MemoryError` 就不应变为 "
1067+
":exc:`URLError`)。"
10641068

10651069
#: ../../library/urllib.request.rst:740
10661070
msgid "This method will be called before any protocol-specific open method."

0 commit comments

Comments
 (0)