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

Skip to content

Commit ee3a5c2

Browse files
[po] auto sync
1 parent 77d02f9 commit ee3a5c2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

library/urllib.parse.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ msgid ""
290290
"``#``, ``@``, or ``:`` will raise a :exc:`ValueError`. If the URL is "
291291
"decomposed before parsing, no error will be raised."
292292
msgstr ""
293+
"如果 :attr:`netloc` 属性中的字符在 NFKC 规范化下(如 IDNA 编码格式所使用的)被分解成 ``/``, ``?``, "
294+
"``#``, ``@`` 或 ``:`` 则将引发 :exc:`ValueError`。 如果在解析之前 URL 就被分解,则不会引发错误。"
293295

294296
#: ../../library/urllib.parse.rst:133
295297
msgid ""
@@ -298,6 +300,8 @@ msgid ""
298300
":meth:`_replace`. The :meth:`_replace` method will return a new ParseResult "
299301
"object replacing specified fields with new values."
300302
msgstr ""
303+
"与所有具名元组的情况一样,该子类还有一些特别有用的附加方法和属性。 其中一个方法是 :meth:`_replace`。 :meth:`_replace`"
304+
" 方法将返回一个新的 ParseResult 对象来将指定字段替换为新的值。"
301305

302306
#: ../../library/urllib.parse.rst:151
303307
msgid "Added IPv6 URL parsing capabilities."

0 commit comments

Comments
 (0)