@@ -10,7 +10,7 @@ msgid ""
10
10
msgstr ""
11
11
"Project-Id-Version : Python 3.13\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
- "POT-Creation-Date : 2023-12-13 00:03 +0000\n "
13
+ "POT-Creation-Date : 2025-02-17 00:15 +0000\n "
14
14
"PO-Revision-Date : 2022-11-12 15:45+0800\n "
15
15
"
Last-Translator :
Matt Wang <[email protected] >\n "
16
16
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -187,32 +187,48 @@ msgid ""
187
187
msgstr ""
188
188
189
189
#: ../../c-api/function.rst:148
190
- msgid ""
191
- "Enumeration of possible function watcher events: - "
192
- "``PyFunction_EVENT_CREATE`` - ``PyFunction_EVENT_DESTROY`` - "
193
- "``PyFunction_EVENT_MODIFY_CODE`` - ``PyFunction_EVENT_MODIFY_DEFAULTS`` - "
194
- "``PyFunction_EVENT_MODIFY_KWDEFAULTS``"
190
+ msgid "Enumeration of possible function watcher events:"
191
+ msgstr ""
192
+
193
+ #: ../../c-api/function.rst:150
194
+ msgid "``PyFunction_EVENT_CREATE``"
195
+ msgstr ""
196
+
197
+ #: ../../c-api/function.rst:151
198
+ msgid "``PyFunction_EVENT_DESTROY``"
199
+ msgstr ""
200
+
201
+ #: ../../c-api/function.rst:152
202
+ msgid "``PyFunction_EVENT_MODIFY_CODE``"
203
+ msgstr ""
204
+
205
+ #: ../../c-api/function.rst:153
206
+ msgid "``PyFunction_EVENT_MODIFY_DEFAULTS``"
207
+ msgstr ""
208
+
209
+ #: ../../c-api/function.rst:154
210
+ msgid "``PyFunction_EVENT_MODIFY_KWDEFAULTS``"
195
211
msgstr ""
196
212
197
- #: ../../c-api/function.rst:160
213
+ #: ../../c-api/function.rst:161
198
214
msgid "Type of a function watcher callback function."
199
215
msgstr ""
200
216
201
- #: ../../c-api/function.rst:162
217
+ #: ../../c-api/function.rst:163
202
218
msgid ""
203
219
"If *event* is ``PyFunction_EVENT_CREATE`` or ``PyFunction_EVENT_DESTROY`` "
204
220
"then *new_value* will be ``NULL``. Otherwise, *new_value* will hold a :term:"
205
221
"`borrowed reference` to the new value that is about to be stored in *func* "
206
222
"for the attribute that is being modified."
207
223
msgstr ""
208
224
209
- #: ../../c-api/function.rst:167
225
+ #: ../../c-api/function.rst:168
210
226
msgid ""
211
227
"The callback may inspect but must not modify *func*; doing so could have "
212
228
"unpredictable effects, including infinite recursion."
213
229
msgstr ""
214
230
215
- #: ../../c-api/function.rst:170
231
+ #: ../../c-api/function.rst:171
216
232
msgid ""
217
233
"If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked "
218
234
"after `func` has been fully initialized. Otherwise, the callback is invoked "
@@ -224,22 +240,22 @@ msgid ""
224
240
"semantics of the Python code being executed."
225
241
msgstr ""
226
242
227
- #: ../../c-api/function.rst:179
243
+ #: ../../c-api/function.rst:180
228
244
msgid ""
229
245
"If *event* is ``PyFunction_EVENT_DESTROY``, Taking a reference in the "
230
246
"callback to the about-to-be-destroyed function will resurrect it, preventing "
231
247
"it from being freed at this time. When the resurrected object is destroyed "
232
248
"later, any watcher callbacks active at that time will be called again."
233
249
msgstr ""
234
250
235
- #: ../../c-api/function.rst:184
251
+ #: ../../c-api/function.rst:185
236
252
msgid ""
237
253
"If the callback sets an exception, it must return ``-1``; this exception "
238
254
"will be printed as an unraisable exception using :c:func:"
239
255
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
240
256
msgstr ""
241
257
242
- #: ../../c-api/function.rst:188
258
+ #: ../../c-api/function.rst:189
243
259
msgid ""
244
260
"There may already be a pending exception set on entry to the callback. In "
245
261
"this case, the callback should return ``0`` with the same exception still "
0 commit comments