File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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."
292292msgstr ""
293+ "如果 :attr:`netloc` 属性中的字符在 NFKC 规范化下(如 IDNA 编码格式所使用的)被分解成 ``/``, ``?``, "
294+ "``#``, ``@`` 或 ``:`` 则将引发 :exc:`ValueError`。 如果在解析之前 URL 就被分解,则不会引发错误。"
293295
294296#: ../../library/urllib.parse.rst:133
295297msgid ""
@@ -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."
300302msgstr ""
303+ "与所有具名元组的情况一样,该子类还有一些特别有用的附加方法和属性。 其中一个方法是 :meth:`_replace`。 :meth:`_replace`"
304+ " 方法将返回一个新的 ParseResult 对象来将指定字段替换为新的值。"
301305
302306#: ../../library/urllib.parse.rst:151
303307msgid "Added IPv6 URL parsing capabilities."
You can’t perform that action at this time.
0 commit comments