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

Commitc30bc8d

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.12 (#696)
* sync with cpython e0c2bf46* sync with cpython d35c9456* sync with cpython 4f976c3b* sync with cpython 5a8e6f8b* sync with cpython 2c6000cb* sync with cpython 02fdb420* sync with cpython 77f59bf6* sync with cpython 8e374450* sync with cpython 0ea64544* sync with cpython d4fd165a* sync with cpython 298e57ab* sync with cpython 86db104e* sync with cpython 103728dc* sync with cpython b478c5e5* sync with cpython d7a78833* sync with cpython 4f71f168* sync with cpython 749c8fda* sync with cpython 4c9da4c9* sync with cpython e3c79477* sync with cpython da73a5cc* sync with cpython f49d0732* sync with cpython 85bbfa8a* sync with cpython 5720f7fc* fix: 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 parent8fef8f1 commitc30bc8d

File tree

81 files changed

+7678
-7563
lines changed

Some content is hidden

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

81 files changed

+7678
-7563
lines changed

‎c-api/bytearray.po

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ msgid ""
3333
"This instance of :c:type:`PyTypeObject` represents the Python bytearray "
3434
"type; it is the same object as :class:`bytearray` in the Python layer."
3535
msgstr""
36-
"這個 :c:type:`PyTypeObject` 的實例代表了 Python 的位元組陣列型別;在 Python"
37-
"中的 :class:`bytearray` 為同一個物件。"
36+
"這個 :c:type:`PyTypeObject` 的實例代表了 Python 的位元組陣列型別;在 Python "
37+
"層中的 :class:`bytearray` 為同一個物件。"
3838

3939
#:../../c-api/bytearray.rst:23
4040
msgid"Type check macros"
@@ -45,16 +45,16 @@ msgid ""
4545
"Return true if the object *o* is a bytearray object or an instance of a "
4646
"subtype of the bytearray type. This function always succeeds."
4747
msgstr""
48-
"如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列型別的子型別的實例,則回傳真"
49-
"。此函式總是會成功執行。"
48+
"如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列型別的子型別的實例,則回傳"
49+
"真值。此函式總是會成功執行。"
5050

5151
#:../../c-api/bytearray.rst:33
5252
msgid""
5353
"Return true if the object *o* is a bytearray object, but not an instance of "
5454
"a subtype of the bytearray type. This function always succeeds."
5555
msgstr""
56-
"如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列型別的子型別的實例,則回傳真"
57-
"。此函式總是會成功執行。"
56+
"如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列型別的子型別的實例,則回傳"
57+
"真值。此函式總是會成功執行。"
5858

5959
#:../../c-api/bytearray.rst:38
6060
msgid"Direct API functions"
@@ -73,7 +73,8 @@ msgid ""
7373
"Create a new bytearray object from *string* and its length, *len*. On "
7474
"failure, ``NULL`` is returned."
7575
msgstr""
76-
"從 *string* 及其長度 *len* 建立一個新的位元組陣列物件。若失敗則回傳 ``NULL``。"
76+
"從 *string* 及其長度 *len* 建立一個新的位元組陣列物件。若失敗則回傳 "
77+
"``NULL``。"
7778

7879
#:../../c-api/bytearray.rst:54
7980
msgid""

‎c-api/complex.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ msgid ""
4343
"return them as results do so *by value* rather than dereferencing them "
4444
"through pointers. This is consistent throughout the API."
4545
msgstr""
46-
"請注意,接受這些結構作為參數並將它們作為結果回傳的函式是\\ *按值 (by "
47-
"value)*執行的,而不是透過指標取消參照 (dereference) 它們。這在整個 API"
48-
"都是一致的。"
46+
"請注意,接受這些結構作為參數並將它們作為結果回傳的函式是\\ *按值 (byvalue)*"
47+
"執行的,而不是透過指標取消參照 (dereference) 它們。這在整個 API中都是一致"
48+
"。"
4949

5050
#:../../c-api/complex.rst:26
5151
msgid""
@@ -73,7 +73,8 @@ msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數間的
7373
msgid""
7474
"Return the negation of the complex number *num*, using the C :c:type:"
7575
"`Py_complex` representation."
76-
msgstr"以 C 的 :c:type:`Py_complex` 表示形式來回傳複數 *num* 的相反數 (negation)。"
76+
msgstr""
77+
"以 C 的 :c:type:`Py_complex` 表示形式來回傳複數 *num* 的相反數 (negation)。"
7778

7879
#:../../c-api/complex.rst:57
7980
msgid""

‎c-api/datetime.po

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ msgstr ""
3939
":mod:`datetime` 模組提供各種日期和時間物件。在使用任何這些函式之前,必須將標"
4040
"頭檔 :file:`datetime.h` 引入於原始碼中(請注意,:file:`Python.h` 並無引入該標"
4141
"頭檔),且巨集 :c:macro:`!PyDateTime_IMPORT` 必須被調用,而這通常作為模組初始"
42-
"化函式的一部分。該巨集將指向 C 結構的指標放入靜態變數 :c:data:"
43-
"`!PyDateTimeAPI` 中,該變數會被以下巨集使用。"
42+
"化函式的一部分。該巨集將指向 C 結構的指標放入靜態變數 :c:data:`!"
43+
"PyDateTimeAPI` 中,該變數會被以下巨集使用。"
4444

4545
#:../../c-api/datetime.rst:18
4646
msgid"This subtype of :c:type:`PyObject` represents a Python date object."
@@ -112,9 +112,9 @@ msgid ""
112112
"of :c:data:`!PyDateTime_DateType`. *ob* must not be ``NULL``. This "
113113
"function always succeeds."
114114
msgstr""
115-
"如果 *ob* 的型別為 :c:data:`PyDateTime_DateType` 或 :c:data:"
116-
"`!PyDateTime_DateType` 的子型別,則回傳 true。 *ob* 不得為 ``NULL``。這個函式"
117-
"一定會執行成功。"
115+
"如果 *ob* 的型別為 :c:data:`PyDateTime_DateType` 或 :c:data:`!"
116+
"PyDateTime_DateType` 的子型別,則回傳 true。 *ob* 不得為 ``NULL``。這個函式一"
117+
"定會執行成功。"
118118

119119
#:../../c-api/datetime.rst:80
120120
msgid""
@@ -130,8 +130,8 @@ msgid ""
130130
"subtype of :c:data:`!PyDateTime_DateTimeType`. *ob* must not be ``NULL``. "
131131
"This function always succeeds."
132132
msgstr""
133-
"如果 *ob* 的型別為 :c:data:`PyDateTime_DateTimeType` 或 :c:data:"
134-
"`!PyDateTime_DateTimeType` 的子型別,則回傳 true。*ob* 不得為 ``NULL``。這個函"
133+
"如果 *ob* 的型別為 :c:data:`PyDateTime_DateTimeType` 或 :c:data:`!"
134+
"PyDateTime_DateTimeType` 的子型別,則回傳 true。*ob* 不得為 ``NULL``。這個函"
135135
"式一定會執行成功。"
136136

137137
#:../../c-api/datetime.rst:93
@@ -148,8 +148,8 @@ msgid ""
148148
"of :c:data:`!PyDateTime_TimeType`. *ob* must not be ``NULL``. This "
149149
"function always succeeds."
150150
msgstr""
151-
"如果 *ob* 的型別為 :c:data:`PyDateTime_TimeType` 或 :c:data:"
152-
"`!PyDateTime_TimeType` 的子型別,則回傳 true。*ob* 不得為 ``NULL``。這個函式一"
151+
"如果 *ob* 的型別為 :c:data:`PyDateTime_TimeType` 或 :c:data:`!"
152+
"PyDateTime_TimeType` 的子型別,則回傳 true。*ob* 不得為 ``NULL``。這個函式一"
153153
"定會執行成功。"
154154

155155
#:../../c-api/datetime.rst:106
@@ -166,9 +166,9 @@ msgid ""
166166
"of :c:data:`!PyDateTime_DeltaType`. *ob* must not be ``NULL``. This "
167167
"function always succeeds."
168168
msgstr""
169-
"如果 *ob* 的型別為 :c:data:`PyDateTime_DeltaType` 或 :c:data:"
170-
"`!PyDateTime_DeltaType` 的子型別,則回傳 true。*ob* 不得為 ``NULL``。這個函式"
171-
"一定會執行成功。"
169+
"如果 *ob* 的型別為 :c:data:`PyDateTime_DeltaType` 或 :c:data:`!"
170+
"PyDateTime_DeltaType` 的子型別,則回傳 true。*ob* 不得為 ``NULL``。這個函式一"
171+
"定會執行成功。"
172172

173173
#:../../c-api/datetime.rst:119
174174
msgid""
@@ -184,8 +184,8 @@ msgid ""
184184
"of :c:data:`!PyDateTime_TZInfoType`. *ob* must not be ``NULL``. This "
185185
"function always succeeds."
186186
msgstr""
187-
"如果 *ob* 的型別為 :c:data:`PyDateTime_TZInfoType` 或 :c:data:"
188-
"`!PyDateTime_TZInfoType` 的子型別,則回傳 true。*ob* 不得為 ``NULL``。這個函式"
187+
"如果 *ob* 的型別為 :c:data:`PyDateTime_TZInfoType` 或 :c:data:`!"
188+
"PyDateTime_TZInfoType` 的子型別,則回傳 true。*ob* 不得為 ``NULL``。這個函式"
189189
"一定會執行成功。"
190190

191191
#:../../c-api/datetime.rst:132

‎c-api/frame.po

Lines changed: 20 additions & 20 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-17 17:39+0800\n"
11+
"POT-Creation-Date:2023-12-06 00:03+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"
@@ -19,15 +19,15 @@ msgstr ""
1919

2020
#:../../c-api/frame.rst:4
2121
msgid"Frame Objects"
22-
msgstr""
22+
msgstr"Frame 物件"
2323

2424
#:../../c-api/frame.rst:8
2525
msgid"The C structure of the objects used to describe frame objects."
26-
msgstr""
26+
msgstr"用來描述 frame 物件的 C 結構。"
2727

2828
#:../../c-api/frame.rst:10
2929
msgid"There are no public members in this structure."
30-
msgstr""
30+
msgstr"在這個結構中沒有公開的成員。"
3131

3232
#:../../c-api/frame.rst:12
3333
msgid""
@@ -76,20 +76,20 @@ msgid ""
7676
msgstr""
7777

7878
#:../../c-api/frame.rst:53
79-
msgid"Get the *frame*'s``f_builtins`` attribute."
80-
msgstr""
79+
msgid"Get the *frame*'s:attr:`~frame.f_builtins` attribute."
80+
msgstr"取得 *frame* 的 :attr:`~frame.f_builtins` 屬性。"
8181

8282
#:../../c-api/frame.rst:55../../c-api/frame.rst:86
8383
msgid"Return a :term:`strong reference`. The result cannot be ``NULL``."
84-
msgstr""
84+
msgstr"回傳 :term:`strong reference`。結果不能為 ``NULL``。"
8585

8686
#:../../c-api/frame.rst:62
8787
msgid"Get the *frame* code."
8888
msgstr""
8989

9090
#:../../c-api/frame.rst:64../../c-api/frame.rst:125
9191
msgid"Return a :term:`strong reference`."
92-
msgstr""
92+
msgstr"回傳 :term:`strong reference`。"
9393

9494
#:../../c-api/frame.rst:66
9595
msgid"The result (frame code) cannot be ``NULL``."
@@ -104,40 +104,40 @@ msgstr ""
104104

105105
#:../../c-api/frame.rst:77
106106
msgid"Return a :term:`strong reference`, or ``NULL``."
107-
msgstr""
107+
msgstr"回傳 :term:`strong reference` 或 ``NULL``。"
108108

109109
#:../../c-api/frame.rst:84
110-
msgid"Get the *frame*'s``f_globals`` attribute."
111-
msgstr""
110+
msgid"Get the *frame*'s:attr:`~frame.f_globals` attribute."
111+
msgstr"取得 *frame* 的 :attr:`~frame.f_globals` 屬性。"
112112

113113
#:../../c-api/frame.rst:93
114-
msgid"Get the *frame*'s``f_lasti`` attribute."
115-
msgstr""
114+
msgid"Get the *frame*'s:attr:`~frame.f_lasti` attribute."
115+
msgstr"取得 *frame* 的 :attr:`~frame.f_lasti` 屬性。"
116116

117117
#:../../c-api/frame.rst:95
118118
msgid"Returns -1 if ``frame.f_lasti`` is ``None``."
119-
msgstr""
119+
msgstr"如果 ``frame.f_lasti`` 是 ``None`` 則回傳 -1。"
120120

121121
#:../../c-api/frame.rst:102
122122
msgid"Get the variable *name* of *frame*."
123-
msgstr""
123+
msgstr"取得 *frame* 的變數 *name*。"
124124

125125
#:../../c-api/frame.rst:104
126126
msgid"Return a :term:`strong reference` to the variable value on success."
127-
msgstr""
127+
msgstr"在成功時回傳變數值的 :term:`strong reference`。"
128128

129129
#:../../c-api/frame.rst:105
130130
msgid""
131131
"Raise :exc:`NameError` and return ``NULL`` if the variable does not exist."
132-
msgstr""
132+
msgstr"如果變數不存在,則引發 :exc:`NameError` 並回傳 ``NULL``。"
133133

134134
#:../../c-api/frame.rst:106
135135
msgid"Raise an exception and return ``NULL`` on error."
136-
msgstr""
136+
msgstr"在錯誤時引發例外並回傳 ``NULL``。"
137137

138138
#:../../c-api/frame.rst:108
139139
msgid"*name* type must be a :class:`str`."
140-
msgstr""
140+
msgstr"*name* 的型別必須是 :class:`str`。"
141141

142142
#:../../c-api/frame.rst:115
143143
msgid""
@@ -146,7 +146,7 @@ msgid ""
146146
msgstr""
147147

148148
#:../../c-api/frame.rst:123
149-
msgid"Get the *frame*'s``f_locals`` attribute (:class:`dict`)."
149+
msgid"Get the *frame*'s:attr:`~frame.f_locals` attribute (:class:`dict`)."
150150
msgstr""
151151

152152
#:../../c-api/frame.rst:132

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp