Skip to content

Commit db9cb8e

Browse files
sync with cpython 5b334241
1 parent 871d2f0 commit db9cb8e

9 files changed

Lines changed: 531 additions & 545 deletions

File tree

c-api/allocation.po

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.14\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2025-11-09 17:02+0000\n"
12+
"POT-Creation-Date: 2026-04-23 00:30+0000\n"
1313
"PO-Revision-Date: 2022-10-16 15:35+0800\n"
1414
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -22,7 +22,8 @@ msgstr ""
2222
"X-Generator: Poedit 3.1.1\n"
2323

2424
#: ../../c-api/allocation.rst:6
25-
msgid "Allocating Objects on the Heap"
25+
#, fuzzy
26+
msgid "Allocating objects on the heap"
2627
msgstr "在 heap 上分配物件"
2728

2829
#: ../../c-api/allocation.rst:17
@@ -132,8 +133,8 @@ msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
132133
msgstr "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
133134

134135
#: ../../c-api/allocation.rst:87 ../../c-api/allocation.rst:137
135-
#: ../../c-api/allocation.rst:182 ../../c-api/allocation.rst:184
136-
#: ../../c-api/allocation.rst:186
136+
#: ../../c-api/allocation.rst:184 ../../c-api/allocation.rst:186
137+
#: ../../c-api/allocation.rst:188
137138
msgid ":c:func:`PyObject_Free`"
138139
msgstr ":c:func:`PyObject_Free`"
139140

@@ -214,43 +215,45 @@ msgid "To allocate and create extension modules."
214215
msgstr "分配記憶體和建立擴充模組。"
215216

216217
#: ../../c-api/allocation.rst:157
217-
msgid "Deprecated aliases"
218+
#, fuzzy
219+
msgid "Soft-deprecated aliases"
218220
msgstr "被棄用的別名"
219221

220-
#: ../../c-api/allocation.rst:159
222+
#: ../../c-api/allocation.rst:161
221223
msgid ""
222-
"These are :term:`soft deprecated` aliases to existing functions and macros. "
223-
"They exist solely for backwards compatibility."
224+
"These are aliases to existing functions and macros. They exist solely for "
225+
"backwards compatibility."
224226
msgstr ""
225227

226-
#: ../../c-api/allocation.rst:167
227-
msgid "Deprecated alias"
228+
#: ../../c-api/allocation.rst:169
229+
#, fuzzy
230+
msgid "Soft-deprecated alias"
228231
msgstr "已棄用的別名"
229232

230-
#: ../../c-api/allocation.rst:168
233+
#: ../../c-api/allocation.rst:170
231234
msgid "Function"
232235
msgstr "函式"
233236

234-
#: ../../c-api/allocation.rst:170
237+
#: ../../c-api/allocation.rst:172
235238
msgid ":c:macro:`PyObject_New`"
236239
msgstr ":c:macro:`PyObject_New`"
237240

238-
#: ../../c-api/allocation.rst:172
241+
#: ../../c-api/allocation.rst:174
239242
msgid ":c:macro:`PyObject_NewVar`"
240243
msgstr ":c:macro:`PyObject_NewVar`"
241244

242-
#: ../../c-api/allocation.rst:174
245+
#: ../../c-api/allocation.rst:176
243246
msgid ":c:func:`PyObject_Init`"
244247
msgstr ":c:func:`PyObject_Init`"
245248

246-
#: ../../c-api/allocation.rst:176
249+
#: ../../c-api/allocation.rst:178
247250
msgid ":c:func:`PyObject_InitVar`"
248251
msgstr ":c:func:`PyObject_InitVar`"
249252

250-
#: ../../c-api/allocation.rst:178
253+
#: ../../c-api/allocation.rst:180
251254
msgid ":c:func:`PyObject_Malloc`"
252255
msgstr ":c:func:`PyObject_Malloc`"
253256

254-
#: ../../c-api/allocation.rst:180
257+
#: ../../c-api/allocation.rst:182
255258
msgid ":c:func:`PyObject_Realloc`"
256259
msgstr ":c:func:`PyObject_Realloc`"

c-api/file.po

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.14\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2026-03-23 00:22+0000\n"
12+
"POT-Creation-Date: 2026-04-23 00:30+0000\n"
1313
"PO-Revision-Date: 2023-04-24 20:38+0800\n"
1414
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -22,7 +22,8 @@ msgstr ""
2222
"X-Generator: Poedit 3.2.2\n"
2323

2424
#: ../../c-api/file.rst:6
25-
msgid "File Objects"
25+
#, fuzzy
26+
msgid "File objects"
2627
msgstr "檔案物件 (File Objects)"
2728

2829
#: ../../c-api/file.rst:10
@@ -219,27 +220,28 @@ msgstr ""
219220
"的例外狀況。"
220221

221222
#: ../../c-api/file.rst:140
222-
msgid "Deprecated API"
223+
#, fuzzy
224+
msgid "Soft-deprecated API"
223225
msgstr "已棄用的 API"
224226

225-
#: ../../c-api/file.rst:143
227+
#: ../../c-api/file.rst:144
228+
#, fuzzy
226229
msgid ""
227-
"These are :term:`soft deprecated` APIs that were included in Python's C API "
228-
"by mistake. They are documented solely for completeness; use other "
229-
"``PyFile*`` APIs instead."
230+
"These are APIs that were included in Python's C API by mistake. They are "
231+
"documented solely for completeness; use other ``PyFile*`` APIs instead."
230232
msgstr ""
231233
"這些是被錯誤地包含在 Python C API 中的\\ :term:`軟性棄用 <soft deprecated>` "
232234
"API。它們僅為了完整性而記錄於文件中;請改用其他 ``PyFile*`` API。"
233235

234-
#: ../../c-api/file.rst:149
236+
#: ../../c-api/file.rst:150
235237
msgid ""
236238
"Use :c:func:`PyFile_FromFd` with defaults (``fd, NULL, \"w\", -1, NULL, "
237239
"NULL, NULL, 0``) instead."
238240
msgstr ""
239241
"請改用帶有預設值 (``fd, NULL, \"w\", -1, NULL, NULL, NULL, 0``) 的 :c:func:"
240242
"`PyFile_FromFd`。"
241243

242-
#: ../../c-api/file.rst:153
244+
#: ../../c-api/file.rst:154
243245
msgid ""
244246
"Type of file-like objects used internally at Python startup when :py:mod:"
245247
"`io` is not yet available. Use Python :py:func:`open` or :c:func:"

c-api/frame.po

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.14\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2026-02-28 00:16+0000\n"
8+
"POT-Creation-Date: 2026-04-23 00:30+0000\n"
99
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -16,7 +16,8 @@ msgstr ""
1616
"Content-Transfer-Encoding: 8bit\n"
1717

1818
#: ../../c-api/frame.rst:4
19-
msgid "Frame Objects"
19+
#, fuzzy
20+
msgid "Frame objects"
2021
msgstr "Frame 物件"
2122

2223
#: ../../c-api/frame.rst:8
@@ -173,7 +174,7 @@ msgid "Return the line number that *frame* is currently executing."
173174
msgstr ""
174175

175176
#: ../../c-api/frame.rst:151
176-
msgid "Frame Locals Proxies"
177+
msgid "Frame locals proxies"
177178
msgstr ""
178179

179180
#: ../../c-api/frame.rst:155
@@ -198,7 +199,7 @@ msgid "Return non-zero if *obj* is a frame :func:`locals` proxy."
198199
msgstr ""
199200

200201
#: ../../c-api/frame.rst:173
201-
msgid "Legacy Local Variable APIs"
202+
msgid "Legacy local variable APIs"
202203
msgstr ""
203204

204205
#: ../../c-api/frame.rst:175
@@ -207,12 +208,7 @@ msgid ""
207208
"They exist solely for backwards compatibility."
208209
msgstr ""
209210

210-
#: ../../c-api/frame.rst:181 ../../c-api/frame.rst:195
211-
#: ../../c-api/frame.rst:208
212-
msgid "This function is :term:`soft deprecated` and does nothing."
213-
msgstr ""
214-
215-
#: ../../c-api/frame.rst:183
211+
#: ../../c-api/frame.rst:181
216212
msgid ""
217213
"Prior to Python 3.13, this function would copy the :attr:`~frame.f_locals` "
218214
"attribute of *f* to the internal \"fast\" array of local variables, allowing "
@@ -221,51 +217,51 @@ msgid ""
221217
"dictionary."
222218
msgstr ""
223219

224-
#: ../../c-api/frame.rst:189 ../../c-api/frame.rst:202
225-
#: ../../c-api/frame.rst:214
220+
#: ../../c-api/frame.rst:187 ../../c-api/frame.rst:198
221+
#: ../../c-api/frame.rst:208
226222
msgid "This function now does nothing."
227223
msgstr ""
228224

229-
#: ../../c-api/frame.rst:197
225+
#: ../../c-api/frame.rst:193
230226
msgid ""
231227
"Prior to Python 3.13, this function would copy the internal \"fast\" array "
232228
"of local variables (which is used by the interpreter) to the :attr:`~frame."
233229
"f_locals` attribute of *f*, allowing changes in local variables to be "
234230
"visible to frame objects."
235231
msgstr ""
236232

237-
#: ../../c-api/frame.rst:210
233+
#: ../../c-api/frame.rst:204
238234
msgid ""
239235
"Prior to Python 3.13, this function was similar to :c:func:"
240236
"`PyFrame_FastToLocals`, but would return ``0`` on success, and ``-1`` with "
241237
"an exception set on failure."
242238
msgstr ""
243239

244-
#: ../../c-api/frame.rst:219
240+
#: ../../c-api/frame.rst:213
245241
msgid ":pep:`667`"
246242
msgstr ":pep:`667`"
247243

248-
#: ../../c-api/frame.rst:223
249-
msgid "Internal Frames"
244+
#: ../../c-api/frame.rst:217
245+
msgid "Internal frames"
250246
msgstr ""
251247

252-
#: ../../c-api/frame.rst:225
248+
#: ../../c-api/frame.rst:219
253249
msgid "Unless using :pep:`523`, you will not need this."
254250
msgstr ""
255251

256-
#: ../../c-api/frame.rst:229
252+
#: ../../c-api/frame.rst:223
257253
msgid "The interpreter's internal frame representation."
258254
msgstr ""
259255

260-
#: ../../c-api/frame.rst:235
256+
#: ../../c-api/frame.rst:229
261257
msgid "Return a :term:`strong reference` to the code object for the frame."
262258
msgstr ""
263259

264-
#: ../../c-api/frame.rst:242
260+
#: ../../c-api/frame.rst:236
265261
msgid "Return the byte offset into the last executed instruction."
266262
msgstr ""
267263

268-
#: ../../c-api/frame.rst:249
264+
#: ../../c-api/frame.rst:243
269265
msgid ""
270266
"Return the currently executing line number, or -1 if there is no line number."
271267
msgstr ""

0 commit comments

Comments
 (0)