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

Commitc51ea89

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.12 (#509)
* sync with cpython d514e143* resolve fuzzy entries---------Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>Co-authored-by: Matt Wang <mattwang44@gmail.com>
1 parent9c5e305 commitc51ea89

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+548
-555
lines changed

‎c-api/bool.po

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version:Python 3.12\n"
1212
"Report-Msgid-Bugs-To:\n"
13-
"POT-Creation-Date:2023-07-17 17:39+0800\n"
13+
"POT-Creation-Date:2023-07-29 10:36+0000\n"
1414
"PO-Revision-Date:2021-12-09 20:47+0800\n"
1515
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1616
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -39,44 +39,50 @@ msgstr ""
3939

4040
#:../../c-api/bool.rst:16
4141
msgid""
42+
"This instance of :c:type:`PyTypeObject` represents the Python boolean type; "
43+
"it is the same object as :class:`bool` in the Python layer."
44+
msgstr""
45+
46+
#:../../c-api/bool.rst:22
47+
msgid""
4248
"Return true if *o* is of type :c:data:`PyBool_Type`. This function always "
4349
"succeeds."
4450
msgstr""
4551
"如果 *o* 的型別為 :c:data:`PyBool_Type` 則回傳真值。此函式總是會成功執行。"
4652

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

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

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

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

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

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

79-
#:../../c-api/bool.rst:50
85+
#:../../c-api/bool.rst:56
8086
msgid""
8187
"Return :c:data:`Py_True` or :c:data:`Py_False`, depending on the truth value "
8288
"of *v*."

‎faq/extending.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2023-05-03 00:17+0000\n"
10+
"POT-Creation-Date:2023-07-29 10:36+0000\n"
1111
"PO-Revision-Date:2023-02-18 13:08+0800\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -146,24 +146,24 @@ msgstr "如何從 Python 物件中提取 C 值?"
146146
msgid""
147147
"That depends on the object's type. If it's a tuple, :c:func:`PyTuple_Size` "
148148
"returns its length and :c:func:`PyTuple_GetItem` returns the item at a "
149-
"specified index. Lists have similar functions, :c:func:`PyListSize` and :c:"
149+
"specified index. Lists have similar functions, :c:func:`PyList_Size` and :c:"
150150
"func:`PyList_GetItem`."
151151
msgstr""
152152
"這取決於物件的型別。如果它是一個元組,:c:func:`PyTuple_Size` 回傳它的長度,:"
153153
"c:func:`PyTuple_GetItem` 回傳指定索引的項目。列表具有類似的函式:c:func:"
154-
"`PyListSize` 和 :c:func:`PyList_GetItem`。"
154+
"`PyList_Size` 和 :c:func:`PyList_GetItem`。"
155155

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

168168
#:../../faq/extending.rst:92
169169
msgid""

‎howto/curses.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2023-05-04 00:15+0000\n"
10+
"POT-Creation-Date:2023-07-29 10:36+0000\n"
1111
"PO-Revision-Date:2018-05-23 14:36+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -696,7 +696,7 @@ msgid ""
696696
"consult the manual pages for your curses implementation, whether it's "
697697
"ncurses or a proprietary Unix vendor's. The manual pages will document any "
698698
"quirks, and provide complete lists of all the functions, attributes, and :"
699-
"const:`ACS_\\*` characters available to you."
699+
"ref:`ACS_\\* <curses-acs-codes>` characters available to you."
700700
msgstr""
701701

702702
#:../../howto/curses.rst:533

‎install/index.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.12\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2023-07-2900:03+0000\n"
11+
"POT-Creation-Date:2023-07-2910:36+0000\n"
1212
"PO-Revision-Date:2018-05-23 14:37+0000\n"
1313
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1078,9 +1078,9 @@ msgstr ""
10781078
#:../../install/index.rst:780
10791079
msgid""
10801080
"On Unix, if the :envvar:`HOME` environment variable is not defined, the "
1081-
"user's home directory will be determined with the :func:`getpwuid` function "
1082-
"from the standard :mod:`pwd` module. This is done by the :func:`os.path."
1083-
"expanduser` function used by Distutils."
1081+
"user's home directory will be determined with the :func:`~pwd.getpwuid` "
1082+
"functionfrom the standard :mod:`pwd` module. This is done by the :func:`os."
1083+
"path.expanduser` function used by Distutils."
10841084
msgstr""
10851085

10861086
#:../../install/index.rst:786

‎library/asyncio-extending.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.12\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2022-10-15 20:43+0000\n"
11+
"POT-Creation-Date:2023-07-29 10:36+0000\n"
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team:LANGUAGE <LL@li.org>\n"
@@ -114,7 +114,7 @@ msgstr ""
114114
#:../../library/asyncio-extending.rst:71
115115
msgid""
116116
"A third party task implementation should call the following functions to "
117-
"keep a task visible by :func:`asyncio.get_tasks` and :func:`asyncio."
117+
"keep a task visible by :func:`asyncio.all_tasks` and :func:`asyncio."
118118
"current_task`:"
119119
msgstr""
120120

‎library/asyncio-future.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2022-10-03 00:22+0000\n"
10+
"POT-Creation-Date:2023-07-29 10:36+0000\n"
1111
"PO-Revision-Date:2022-01-25 01:29+0800\n"
1212
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -407,7 +407,7 @@ msgstr ""
407407
#:../../library/asyncio-future.rst:278
408408
msgid""
409409
":meth:`asyncio.Future.cancel` accepts an optional ``msg`` argument, but :"
410-
"func:`concurrent.futures.cancel` does not."
410+
"meth:`concurrent.futures.Future.cancel` does not."
411411
msgstr""
412412
":meth:`asyncio.Future.cancel` 接受一個可選的 ``msg`` 引數,但 :func:"
413-
"`concurrent.futures.cancel` 無此引數。"
413+
"`concurrent.futures.Future.cancel` 無此引數。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp