Skip to content

Commit b025c72

Browse files
sync with cpython f4888315
1 parent 7e6882f commit b025c72

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

library/pathlib.po

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-01-06 00:16+0000\n"
10+
"POT-Creation-Date: 2023-01-06 03:11+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:07+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -129,14 +129,14 @@ msgstr ""
129129

130130
#: ../../library/pathlib.rst:121
131131
msgid ""
132-
"When several absolute paths are given, the last is taken as an anchor "
133-
"(mimicking :func:`os.path.join`'s behaviour)::"
132+
"If a segment is an absolute path, all previous segments are ignored (like :"
133+
"func:`os.path.join`)::"
134134
msgstr ""
135135

136136
#: ../../library/pathlib.rst:129
137137
msgid ""
138-
"However, in a Windows path, changing the local root doesn't discard the "
139-
"previous drive setting::"
138+
"On Windows, the drive is not reset when a rooted relative path segment (e."
139+
"g., ``r'\\foo'``) is encountered::"
140140
msgstr ""
141141

142142
#: ../../library/pathlib.rst:135
@@ -208,10 +208,10 @@ msgstr ""
208208

209209
#: ../../library/pathlib.rst:215
210210
msgid ""
211-
"The slash operator helps create child paths, mimicking the behaviour of :"
212-
"func:`os.path.join`. For instance, when several absolute paths are given, "
213-
"the last is taken as an anchor; for a Windows path, changing the local root "
214-
"doesn't discard the previous drive setting::"
211+
"The slash operator helps create child paths, like :func:`os.path.join`. If "
212+
"the argument is an absolute path, the previous path is ignored. On Windows, "
213+
"the drive is not reset when the argument is a rooted relative path (e.g., "
214+
"``r'\\foo'``)::"
215215
msgstr ""
216216

217217
#: ../../library/pathlib.rst:233

0 commit comments

Comments
 (0)