Skip to content

Commit 9fb4235

Browse files
sync with cpython 575916d5
1 parent 6a4a962 commit 9fb4235

2 files changed

Lines changed: 19 additions & 19 deletions

File tree

c-api/long.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.14\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2026-04-23 00:30+0000\n"
10+
"POT-Creation-Date: 2026-06-06 15:51+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -92,16 +92,16 @@ msgid ""
9292
"``NULL`` on failure."
9393
msgstr ""
9494

95-
#: ../../c-api/long.rst:77
95+
#: ../../c-api/long.rst:76
9696
msgid ""
97-
"Return a new :c:type:`PyLongObject` object from a signed C :c:expr:`int32_t` "
98-
"or :c:expr:`int64_t`, or ``NULL`` with an exception set on failure."
97+
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long "
98+
"long`, or ``NULL`` on failure."
9999
msgstr ""
100100

101-
#: ../../c-api/long.rst:86
101+
#: ../../c-api/long.rst:83
102102
msgid ""
103-
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long "
104-
"long`, or ``NULL`` on failure."
103+
"Return a new :c:type:`PyLongObject` object from a signed C :c:expr:`int32_t` "
104+
"or :c:expr:`int64_t`, or ``NULL`` with an exception set on failure."
105105
msgstr ""
106106

107107
#: ../../c-api/long.rst:93

library/importlib.resources.po

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.14\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2026-05-01 00:34+0000\n"
10+
"POT-Creation-Date: 2026-06-06 15:51+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -202,8 +202,8 @@ msgstr ""
202202
#: ../../library/importlib.resources.rst:140
203203
#: ../../library/importlib.resources.rst:183
204204
#: ../../library/importlib.resources.rst:231
205-
#: ../../library/importlib.resources.rst:248
206-
#: ../../library/importlib.resources.rst:266
205+
#: ../../library/importlib.resources.rst:247
206+
#: ../../library/importlib.resources.rst:265
207207
msgid ""
208208
"See :ref:`the introduction <importlib_resources_functional>` for details on "
209209
"*anchor* and *path_names*."
@@ -220,8 +220,8 @@ msgstr ""
220220
#: ../../library/importlib.resources.rst:186
221221
#: ../../library/importlib.resources.rst:207
222222
#: ../../library/importlib.resources.rst:234
223-
#: ../../library/importlib.resources.rst:251
224-
#: ../../library/importlib.resources.rst:269
223+
#: ../../library/importlib.resources.rst:250
224+
#: ../../library/importlib.resources.rst:268
225225
msgid "This function is roughly equivalent to::"
226226
msgstr "這個函式大致等同於: ::"
227227

@@ -231,7 +231,8 @@ msgstr "files(anchor).joinpath(*path_names).open('rb')"
231231

232232
#: ../../library/importlib.resources.rst:150
233233
#: ../../library/importlib.resources.rst:190
234-
#: ../../library/importlib.resources.rst:255
234+
#: ../../library/importlib.resources.rst:238
235+
#: ../../library/importlib.resources.rst:254
235236
msgid "Multiple *path_names* are accepted."
236237
msgstr "多個 *path_names* 是被接受的。"
237238

@@ -269,7 +270,6 @@ msgstr "files(anchor).joinpath(*path_names).open('r', encoding=encoding)"
269270

270271
#: ../../library/importlib.resources.rst:174
271272
#: ../../library/importlib.resources.rst:211
272-
#: ../../library/importlib.resources.rst:238
273273
msgid ""
274274
"Multiple *path_names* are accepted. *encoding* and *errors* must be given as "
275275
"keyword arguments."
@@ -324,33 +324,33 @@ msgstr ""
324324
msgid "as_file(files(anchor).joinpath(*path_names))"
325325
msgstr "as_file(files(anchor).joinpath(*path_names))"
326326

327-
#: ../../library/importlib.resources.rst:245
327+
#: ../../library/importlib.resources.rst:244
328328
msgid ""
329329
"Return ``True`` if the named resource exists, otherwise ``False``. This "
330330
"function does not consider directories to be resources."
331331
msgstr ""
332332

333-
#: ../../library/importlib.resources.rst:253
333+
#: ../../library/importlib.resources.rst:252
334334
msgid "files(anchor).joinpath(*path_names).is_file()"
335335
msgstr "files(anchor).joinpath(*path_names).is_file()"
336336

337-
#: ../../library/importlib.resources.rst:261
337+
#: ../../library/importlib.resources.rst:260
338338
msgid ""
339339
"Return an iterable over the named items within the package or path. The "
340340
"iterable returns names of resources (e.g. files) and non-resources (e.g. "
341341
"directories) as :class:`str`. The iterable does not recurse into "
342342
"subdirectories."
343343
msgstr ""
344344

345-
#: ../../library/importlib.resources.rst:271
345+
#: ../../library/importlib.resources.rst:270
346346
msgid ""
347347
"for resource in files(anchor).joinpath(*path_names).iterdir():\n"
348348
" yield resource.name"
349349
msgstr ""
350350
"for resource in files(anchor).joinpath(*path_names).iterdir():\n"
351351
" yield resource.name"
352352

353-
#: ../../library/importlib.resources.rst:274
353+
#: ../../library/importlib.resources.rst:273
354354
msgid ""
355355
"Prefer ``iterdir()`` as above, which offers more control over the results "
356356
"and richer functionality."

0 commit comments

Comments
 (0)