Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sync with CPython 3.12#509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mattwang44 merged 2 commits into3.12fromcron/sync/3.12
Jul 29, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletionsc-api/bool.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-17 17:39+0800\n"
"POT-Creation-Date: 2023-07-29 10:36+0000\n"
"PO-Revision-Date: 2021-12-09 20:47+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -39,44 +39,50 @@ msgstr ""

#: ../../c-api/bool.rst:16
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python boolean type; "
"it is the same object as :class:`bool` in the Python layer."
msgstr ""

#: ../../c-api/bool.rst:22
msgid ""
"Return true if *o* is of type :c:data:`PyBool_Type`. This function always "
"succeeds."
msgstr ""
"如果 *o* 的型別為 :c:data:`PyBool_Type` 則回傳真值。此函式總是會成功執行。"

#: ../../c-api/bool.rst:22
#: ../../c-api/bool.rst:28
msgid ""
"The Python ``False`` object. This object has no methods and is `immortal "
"<https://peps.python.org/pep-0683/>`_."
msgstr ""
"Python 的 ``False`` 物件。此物件沒有任何方法且為\\ `不滅的 (immortal) "
"<https://peps.python.org/pep-0683/>`_。"

#: ../../c-api/bool.rst:25
#: ../../c-api/bool.rst:31
msgid ":c:data:`Py_False` is immortal."
msgstr ":c:data:`Py_False` 為不滅的。"

#: ../../c-api/bool.rst:31
#: ../../c-api/bool.rst:37
msgid ""
"The Python ``True`` object. This object has no methods and is `immortal "
"<https://peps.python.org/pep-0683/>`_."
msgstr ""
"Python 的 ``True`` 物件。此物件沒有任何方法且為\\ `不滅的 (immortal) "
"<https://peps.python.org/pep-0683/>`_。"

#: ../../c-api/bool.rst:34
#: ../../c-api/bool.rst:40
msgid ":c:data:`Py_True` is immortal."
msgstr ":c:data:`Py_True` 為不滅的。"

#: ../../c-api/bool.rst:40
#: ../../c-api/bool.rst:46
msgid "Return :c:data:`Py_False` from a function."
msgstr "從函式回傳 :c:data:`Py_False`。"

#: ../../c-api/bool.rst:45
#: ../../c-api/bool.rst:51
msgid "Return :c:data:`Py_True` from a function."
msgstr "從函式回傳 :c:data:`Py_True`。"

#: ../../c-api/bool.rst:50
#: ../../c-api/bool.rst:56
msgid ""
"Return :c:data:`Py_True` or :c:data:`Py_False`, depending on the truth value "
"of *v*."
Expand Down
12 changes: 6 additions & 6 deletionsfaq/extending.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-03 00:17+0000\n"
"POT-Creation-Date: 2023-07-29 10:36+0000\n"
"PO-Revision-Date: 2023-02-18 13:08+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -146,24 +146,24 @@ msgstr "如何從 Python 物件中提取 C 值?"
msgid ""
"That depends on the object's type. If it's a tuple, :c:func:`PyTuple_Size` "
"returns its length and :c:func:`PyTuple_GetItem` returns the item at a "
"specified index. Lists have similar functions, :c:func:`PyListSize` and :c:"
"specified index. Lists have similar functions, :c:func:`PyList_Size` and :c:"
"func:`PyList_GetItem`."
msgstr ""
"這取決於物件的型別。如果它是一個元組,:c:func:`PyTuple_Size` 回傳它的長度,:"
"c:func:`PyTuple_GetItem` 回傳指定索引的項目。列表具有類似的函式:c:func:"
"`PyListSize` 和 :c:func:`PyList_GetItem`。"
"`PyList_Size` 和 :c:func:`PyList_GetItem`。"

#: ../../faq/extending.rst:87
#, fuzzy
msgid ""
"For bytes, :c:func:`PyBytes_Size` returns its length and :c:func:"
"`PyBytes_AsStringAndSize` provides a pointer to its value and its length. "
"Note that Python bytes objects may contain null bytes so C's :c:func:"
"`strlen` should not be used."
"Note that Python bytes objects may contain null bytes so C's :c:func:`!"
"strlen` should not be used."
msgstr ""
"對於位元組,:c:func:`PyBytes_Size` 回傳它的長度,:c:func:"
"`PyBytes_AsStringAndSize` 提供指向它的值和長度的指標。請注意,Python 位元組物"
"件可能包含空位元組,因此不應使用 C 的 :c:func:`strlen`。"
"件可能包含空位元組,因此不應使用 C 的 :c:func:`!strlen`。"

#: ../../faq/extending.rst:92
msgid ""
Expand Down
4 changes: 2 additions & 2 deletionshowto/curses.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-04 00:15+0000\n"
"POT-Creation-Date: 2023-07-29 10:36+0000\n"
"PO-Revision-Date: 2018-05-23 14:36+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -696,7 +696,7 @@ msgid ""
"consult the manual pages for your curses implementation, whether it's "
"ncurses or a proprietary Unix vendor's. The manual pages will document any "
"quirks, and provide complete lists of all the functions, attributes, and :"
"const:`ACS_\\*` characters available to you."
"ref:`ACS_\\* <curses-acs-codes>` characters available to you."
msgstr ""

#: ../../howto/curses.rst:533
Expand Down
8 changes: 4 additions & 4 deletionsinstall/index.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-2900:03+0000\n"
"POT-Creation-Date: 2023-07-2910:36+0000\n"
"PO-Revision-Date: 2018-05-23 14:37+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -1078,9 +1078,9 @@ msgstr ""
#: ../../install/index.rst:780
msgid ""
"On Unix, if the :envvar:`HOME` environment variable is not defined, the "
"user's home directory will be determined with the :func:`getpwuid` function "
"from the standard :mod:`pwd` module. This is done by the :func:`os.path."
"expanduser` function used by Distutils."
"user's home directory will be determined with the :func:`~pwd.getpwuid` "
"functionfrom the standard :mod:`pwd` module. This is done by the :func:`os."
"path.expanduser` function used by Distutils."
msgstr ""

#: ../../install/index.rst:786
Expand Down
4 changes: 2 additions & 2 deletionslibrary/asyncio-extending.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:2022-10-15 20:43+0000\n"
"POT-Creation-Date:2023-07-29 10:36+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand DownExpand Up@@ -114,7 +114,7 @@ msgstr ""
#: ../../library/asyncio-extending.rst:71
msgid ""
"A third party task implementation should call the following functions to "
"keep a task visible by :func:`asyncio.get_tasks` and :func:`asyncio."
"keep a task visible by :func:`asyncio.all_tasks` and :func:`asyncio."
"current_task`:"
msgstr ""

Expand Down
6 changes: 3 additions & 3 deletionslibrary/asyncio-future.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:2022-10-03 00:22+0000\n"
"POT-Creation-Date:2023-07-29 10:36+0000\n"
"PO-Revision-Date: 2022-01-25 01:29+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -407,7 +407,7 @@ msgstr ""
#: ../../library/asyncio-future.rst:278
msgid ""
":meth:`asyncio.Future.cancel` accepts an optional ``msg`` argument, but :"
"func:`concurrent.futures.cancel` does not."
"meth:`concurrent.futures.Future.cancel` does not."
msgstr ""
":meth:`asyncio.Future.cancel` 接受一個可選的 ``msg`` 引數,但 :func:"
"`concurrent.futures.cancel` 無此引數。"
"`concurrent.futures.Future.cancel` 無此引數。"
Loading

[8]ページ先頭

©2009-2025 Movatter.jp