File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ msgid ""
9191"netloc only if it is properly introduced by '//'. Otherwise the input is "
9292"presumed to be a relative URL and thus to start with a path component."
9393msgstr ""
94+ "根据 :rfc:`1808` 中的语法规范,urlparse 仅在 netloc 前面正确地附带了 '//' 的情况下才会识别它。 "
95+ "否则输入会被当作是一个相对 URL 因而以路径的组成部分开头。"
9496
9597#: ../../library/urllib.parse.rst:82
9698msgid ""
@@ -109,6 +111,8 @@ msgid ""
109111"query component, and :attr:`fragment` is set to the empty string in the "
110112"return value."
111113msgstr ""
114+ "如果 *allow_fragments* 参数为假值,则片段标识符不会被识别。 它们会被解析为路径、参数或查询部分,在返回值中 "
115+ ":attr:`fragment` 会被设为空字符串。"
112116
113117#: ../../library/urllib.parse.rst:92
114118msgid ""
@@ -277,7 +281,7 @@ msgstr ""
277281msgid ""
278282"Unmatched square brackets in the :attr:`netloc` attribute will raise a "
279283":exc:`ValueError`."
280- msgstr ""
284+ msgstr "在 :attr:`netloc` 属性中不匹配的方括号将引发 :exc:`ValueError`。 "
281285
282286#: ../../library/urllib.parse.rst:128 ../../library/urllib.parse.rst:309
283287msgid ""
You can’t perform that action at this time.
0 commit comments