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

Skip to content

Commit 2717449

Browse files
[po] auto sync
1 parent ecf8229 commit 2717449

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

library/urllib.request.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,6 +1212,11 @@ msgid ""
12121212
"raise :exc:`~urllib.error.HTTPError` if no other handler should try to "
12131213
"handle this URL, or return ``None`` if you can't but another handler might."
12141214
msgstr ""
1215+
"返回 :class:`Request` 或 ``None`` 对象作为重定向行为的响应。当服务器接收到重定向请求时, "
1216+
":meth:`http_error_30\\*` 方法的默认实现代码将会调用本方法。如果确实应该发生重定向,则返回一个新的 "
1217+
":class:`Request` 对象,使得 :meth:`http_error_30\\*` 能重定向至 *newurl*。否则,若没有 "
1218+
"handler 会处理此 URL,则会引发 :exc:`~urllib.error.HTTPError`;或者本方法不能处理但或许会有其他 "
1219+
"handler 会处理,则返回 ``None`` 。 "
12151220

12161221
#: ../../library/urllib.request.rst:848
12171222
msgid ""

0 commit comments

Comments
 (0)