File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -439,22 +439,27 @@ msgid ""
439439"is needed to separate the path segments and parameters. This function "
440440"returns a 5-item :term:`named tuple`::"
441441msgstr ""
442+ "此函数类似于 :func:`urlparse`,但不会拆分来自 URL 的参数。 此函数通常应当在需要允许将参数应用到 URL 的 *path* "
443+ "部分的每个分节的较新的 URL 语法的情况下 (参见 :rfc:`2396`) 被用来代替 :func:`urlparse`。 "
444+ "需要使用一个拆分函数来拆分路径分节和参数。 此函数将返回包含 5 个条目的 :term:`named tuple`::"
442445
443446#: ../../library/urllib.parse.rst:276 ../../library/urllib.parse.rst:380
444447msgid ""
445448"The return value is a :term:`named tuple`, its items can be accessed by "
446449"index or as named attributes:"
447- msgstr ""
450+ msgstr "返回值是一个 :term:`named tuple`,它的条目可以通过索引或作为命名属性来访问: "
448451
449452#: ../../library/urllib.parse.rst:314
450453msgid ""
451454"Following the `WHATWG spec`_ that updates RFC 3986, ASCII newline ``\\ n``, "
452455"``\\ r`` and tab ``\\ t`` characters are stripped from the URL."
453456msgstr ""
457+ "依据更新 RFC 3986 的 `WHATWG spec`_,ASCII 换行符 ``\\ n``, ``\\ r`` 和制表符 ``\\ t`` 等字符会从"
458+ " URL 中被去除。"
454459
455460#: ../../library/urllib.parse.rst:325
456461msgid "ASCII newline and tab characters are stripped from the URL."
457- msgstr ""
462+ msgstr "ASCII 换行符和制表符会从 URL 中被去除。 "
458463
459464#: ../../library/urllib.parse.rst:332
460465msgid ""
You can’t perform that action at this time.
0 commit comments