From 9fb42350507998908a4db4d199bb22a305fc5b29 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 6 Jun 2026 15:52:44 +0000 Subject: [PATCH] sync with cpython 575916d5 --- c-api/long.po | 14 +++++++------- library/importlib.resources.po | 24 ++++++++++++------------ 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/c-api/long.po b/c-api/long.po index 9e87f06193..468517062a 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-23 00:30+0000\n" +"POT-Creation-Date: 2026-06-06 15:51+0000\n" "PO-Revision-Date: 2018-05-23 14:06+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -92,16 +92,16 @@ msgid "" "``NULL`` on failure." msgstr "" -#: ../../c-api/long.rst:77 +#: ../../c-api/long.rst:76 msgid "" -"Return a new :c:type:`PyLongObject` object from a signed C :c:expr:`int32_t` " -"or :c:expr:`int64_t`, or ``NULL`` with an exception set on failure." +"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long " +"long`, or ``NULL`` on failure." msgstr "" -#: ../../c-api/long.rst:86 +#: ../../c-api/long.rst:83 msgid "" -"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long " -"long`, or ``NULL`` on failure." +"Return a new :c:type:`PyLongObject` object from a signed C :c:expr:`int32_t` " +"or :c:expr:`int64_t`, or ``NULL`` with an exception set on failure." msgstr "" #: ../../c-api/long.rst:93 diff --git a/library/importlib.resources.po b/library/importlib.resources.po index 010415fbe7..aea4ecf7d7 100644 --- a/library/importlib.resources.po +++ b/library/importlib.resources.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-01 00:34+0000\n" +"POT-Creation-Date: 2026-06-06 15:51+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -202,8 +202,8 @@ msgstr "" #: ../../library/importlib.resources.rst:140 #: ../../library/importlib.resources.rst:183 #: ../../library/importlib.resources.rst:231 -#: ../../library/importlib.resources.rst:248 -#: ../../library/importlib.resources.rst:266 +#: ../../library/importlib.resources.rst:247 +#: ../../library/importlib.resources.rst:265 msgid "" "See :ref:`the introduction ` for details on " "*anchor* and *path_names*." @@ -220,8 +220,8 @@ msgstr "" #: ../../library/importlib.resources.rst:186 #: ../../library/importlib.resources.rst:207 #: ../../library/importlib.resources.rst:234 -#: ../../library/importlib.resources.rst:251 -#: ../../library/importlib.resources.rst:269 +#: ../../library/importlib.resources.rst:250 +#: ../../library/importlib.resources.rst:268 msgid "This function is roughly equivalent to::" msgstr "這個函式大致等同於: ::" @@ -231,7 +231,8 @@ msgstr "files(anchor).joinpath(*path_names).open('rb')" #: ../../library/importlib.resources.rst:150 #: ../../library/importlib.resources.rst:190 -#: ../../library/importlib.resources.rst:255 +#: ../../library/importlib.resources.rst:238 +#: ../../library/importlib.resources.rst:254 msgid "Multiple *path_names* are accepted." msgstr "多個 *path_names* 是被接受的。" @@ -269,7 +270,6 @@ msgstr "files(anchor).joinpath(*path_names).open('r', encoding=encoding)" #: ../../library/importlib.resources.rst:174 #: ../../library/importlib.resources.rst:211 -#: ../../library/importlib.resources.rst:238 msgid "" "Multiple *path_names* are accepted. *encoding* and *errors* must be given as " "keyword arguments." @@ -324,17 +324,17 @@ msgstr "" msgid "as_file(files(anchor).joinpath(*path_names))" msgstr "as_file(files(anchor).joinpath(*path_names))" -#: ../../library/importlib.resources.rst:245 +#: ../../library/importlib.resources.rst:244 msgid "" "Return ``True`` if the named resource exists, otherwise ``False``. This " "function does not consider directories to be resources." msgstr "" -#: ../../library/importlib.resources.rst:253 +#: ../../library/importlib.resources.rst:252 msgid "files(anchor).joinpath(*path_names).is_file()" msgstr "files(anchor).joinpath(*path_names).is_file()" -#: ../../library/importlib.resources.rst:261 +#: ../../library/importlib.resources.rst:260 msgid "" "Return an iterable over the named items within the package or path. The " "iterable returns names of resources (e.g. files) and non-resources (e.g. " @@ -342,7 +342,7 @@ msgid "" "subdirectories." msgstr "" -#: ../../library/importlib.resources.rst:271 +#: ../../library/importlib.resources.rst:270 msgid "" "for resource in files(anchor).joinpath(*path_names).iterdir():\n" " yield resource.name" @@ -350,7 +350,7 @@ msgstr "" "for resource in files(anchor).joinpath(*path_names).iterdir():\n" " yield resource.name" -#: ../../library/importlib.resources.rst:274 +#: ../../library/importlib.resources.rst:273 msgid "" "Prefer ``iterdir()`` as above, which offers more control over the results " "and richer functionality."