@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version : Python 3.12\n "
14
14
"Report-Msgid-Bugs-To : \n "
15
- "POT-Creation-Date : 2024-02-16 14:13+0000\n "
15
+ "POT-Creation-Date : 2024-02-23 14:13+0000\n "
16
16
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
17
17
"Last-Translator : tomo, 2023\n "
18
18
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -57,170 +57,174 @@ msgid ""
57
57
msgstr ""
58
58
59
59
#: ../../c-api/code.rst:35
60
- msgid "Return the number of free variables in *co* ."
61
- msgstr "*co* 内の自由変数(free variables)の数を返します。 "
60
+ msgid "Return the number of free variables in a code object ."
61
+ msgstr ""
62
62
63
63
#: ../../c-api/code.rst:39
64
+ msgid "Return the position of the first free variable in a code object."
65
+ msgstr ""
66
+
67
+ #: ../../c-api/code.rst:43
64
68
msgid ""
65
69
"Return a new code object. If you need a dummy code object to create a "
66
70
"frame, use :c:func:`PyCode_NewEmpty` instead."
67
71
msgstr ""
68
72
69
- #: ../../c-api/code.rst:42
73
+ #: ../../c-api/code.rst:46
70
74
msgid ""
71
75
"Since the definition of the bytecode changes often, calling :c:func:"
72
76
"`PyUnstable_Code_New` directly can bind you to a precise Python version."
73
77
msgstr ""
74
78
75
- #: ../../c-api/code.rst:45
79
+ #: ../../c-api/code.rst:49
76
80
msgid ""
77
81
"The many arguments of this function are inter-dependent in complex ways, "
78
82
"meaning that subtle changes to values are likely to result in incorrect "
79
83
"execution or VM crashes. U
93CD
se this function only with extreme care."
80
84
msgstr ""
81
85
82
- #: ../../c-api/code.rst:49
86
+ #: ../../c-api/code.rst:53
83
87
msgid "Added ``qualname`` and ``exceptiontable`` parameters."
84
88
msgstr ""
85
89
86
- #: ../../c-api/code.rst:56
90
+ #: ../../c-api/code.rst:60
87
91
msgid ""
88
92
"Renamed from ``PyCode_New`` as part of :ref:`unstable-c-api`. The old name "
89
93
"is deprecated, but will remain available until the signature changes again."
90
94
msgstr ""
91
95
92
- #: ../../c-api/code.rst:62
96
+ #: ../../c-api/code.rst:66
93
97
msgid ""
94
98
"Similar to :c:func:`PyUnstable_Code_New`, but with an extra "
95
99
"\" posonlyargcount\" for positional-only arguments. The same caveats that "
96
100
"apply to ``PyUnstable_Code_New`` also apply to this function."
97
101
msgstr ""
98
102
99
- #: ../../c-api/code.rst:67
103
+ #: ../../c-api/code.rst:71
100
104
msgid "as ``PyCode_NewWithPosOnlyArgs``"
101
105
msgstr ""
102
106
103
- #: ../../c-api/code.rst:69
107
+ #: ../../c-api/code.rst:73
104
108
msgid "Added ``qualname`` and ``exceptiontable`` parameters."
105
109
msgstr ""
106
110
107
- #: ../../c-api/code.rst:74
111
+ #: ../../c-api/code.rst:78
108
112
msgid ""
109
113
"Renamed to ``PyUnstable_Code_NewWithPosOnlyArgs``. The old name is "
110
114
"deprecated, but will remain available until the signature changes again."
111
115
msgstr ""
112
116
113
- #: ../../c-api/code.rst:80
117
+ #: ../../c-api/code.rst:84
114
118
msgid ""
115
119
"Return a new empty code object with the specified filename, function name, "
116
120
"and first line number. The resulting code object will raise an ``Exception`` "
117
121
"if executed."
118
122
msgstr ""
119
123
120
- #: ../../c-api/code.rst:86
124
+ #: ../../c-api/code.rst:90
121
125
msgid ""
122
126
"Return the line number of the instruction that occurs on or before "
123
127
"``byte_offset`` and ends after it. If you just need the line number of a "
124
128
"frame, use :c:func:`PyFrame_GetLineNumber` instead."
125
129
msgstr ""
126
130
127
- #: ../../c-api/code.rst:89
131
+ #: ../../c-api/code.rst:93
128
132
msgid ""
129
133
"For efficiently iterating over the line numbers in a code object, use `the "
130
134
"API described in PEP 626 <https://peps.python.org/pep-0626/#out-of-process-"
131
135
"debuggers-and-profilers>`_."
132
136
msgstr ""
133
137
134
- #: ../../c-api/code.rst:94
138
+ #: ../../c-api/code.rst:98
135
139
msgid ""
136
140
"Sets the passed ``int`` pointers to the source code line and column numbers "
137
141
"for the instruction at ``byte_offset``. Sets the value to ``0`` when "
138
142
"information is not available for any particular element."
139
143
msgstr ""
140
144
141
- #: ../../c-api/code.rst:98
145
+ #: ../../c-api/code.rst:102
142
146
msgid "Returns ``1`` if the function succeeds and 0 otherwise."
143
147
msgstr ""
144
148
145
- #: ../../c-api/code.rst:104
149
+ #: ../../c-api/code.rst:108
146
150
msgid ""
147
151
"Equivalent to the Python code ``getattr(co, 'co_code')``. Returns a strong "
148
152
"reference to a :c:type:`PyBytesObject` representing the bytecode in a code "
149
153
"object. On error, ``NULL`` is returned and an exception is raised."
150
154
msgstr ""
151
155
152
- #: ../../c-api/code.rst:109
156
+ #: ../../c-api/code.rst:113
153
157
msgid ""
154
158
"This ``PyBytesObject`` may be created on-demand by the interpreter and does "
155
159
"not necessarily represent the bytecode actually executed by CPython. The "
156
160
"primary use case for this function is debuggers and profilers."
157
161
msgstr ""
158
162
159
- #: ../../c-api/code.rst:117
163
+ #: ../../c-api/code.rst:121
160
164
msgid ""
161
165
"Equivalent to the Python code ``getattr(co, 'co_varnames')``. Returns a new "
162
166
"reference to a :c:type:`PyTupleObject` containing the names of the local "
163
167
"variables. On error, ``NULL`` is returned and an exception is raised."
164
168
msgstr ""
165
169
166
- #: ../../c-api/code.rst:126
170
+ #: ../../c-api/code.rst:130
167
171
msgid ""
168
172
"Equivalent to the Python code ``getattr(co, 'co_cellvars')``. Returns a new "
169
173
"reference to a :c:type:`PyTupleObject` containing the names of the local "
170
174
"variables that are referenced by nested functions. On error, ``NULL`` is "
171
175
"returned and an exception is raised."
172
176
msgstr ""
173
177
174
- #: ../../c-api/code.rst:135
178
+ #: ../../c-api/code.rst:139
175
179
msgid ""
176
180
"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new "
177
181
"reference to a :c:type:`PyTupleObject` containing the names of the free "
178
182
"variables. On error, ``NULL`` is returned and an exception is raised."
179
183
msgstr ""
180
184
181
- #: ../../c-api/code.rst:143
185
+ #: ../../c-api/code.rst:147
182
186
msgid ""
183
187
"Register *callback* as a code object watcher for the current interpreter. "
184
188
"Return an ID which may be passed to :c:func:`PyCode_ClearWatcher`. In case "
185
189
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
186
190
"exception."
187
191
msgstr ""
188
192
189
- #: ../../c-api/code.rst:152
193
+ #: ../../c-api/code.rst:156
190
194
msgid ""
191
195
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
192
196
"`PyCode_AddWatcher` for the current interpreter. Return ``0`` on success, or "
193
197
"``-1`` and set an exception on error (e.g. if the given *watcher_id* was "
194
198
"never registered.)"
195
199
msgstr ""
196
200
197
- #: ../../c-api/code.rst:161
201
+ #: ../../c-api/code.rst:165
198
202
msgid ""
199
203
"Enumeration of possible code object watcher events: - "
200
204
"``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
201
205
msgstr ""
202
206
203
- #: ../../c-api/code.rst:169
207
+ #: ../../c-api/code.rst:173
204
208
msgid "Type of a code object watcher callback function."
205
209
msgstr ""
206
210
207
- #: ../../c-api/code.rst:171
211
+ #: ../../c-api/code.rst:175
208
212
msgid ""
209
213
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
210
214
"`co` has been fully initialized. Otherwise, the callback is invoked before "
211
215
"the destruction of *co* takes place, so the prior state of *co* can be "
212
216
"inspected."
213
217
msgstr ""
214
218
215
- #: ../../c-api/code.rst:176
219
+ #: ../../c-api/code.rst:180
216
220
msgid ""
217
221
"If *event* is ``PY_CODE_EVENT_DESTROY``, taking a reference in the callback "
218
222
"to the about-to-be-destroyed code object will resurrect it and prevent it "
219
223
"from being freed at this time. When the resurrected object is destroyed "
220
224
"later, any watcher callbacks active at that time will be called again."
221
225
msgstr ""
222
226
223
- #: ../../c-api/code.rst:181
227
+ #: ../../c-api/code.rst:185
224
228
msgid ""
225
229
"Users of this API should not rely on internal runtime implementation "
226
230
"details. Such details may include, but are not limited to, the exact order "
@@ -230,14 +234,14 @@ msgid ""
230
234
"the Python code being executed."
231
235
msgstr ""
232
236
233
- #: ../../c-api/code.rst:188
237
+ #: ../../c-api/code.rst:192
234
238
msgid ""
235
239
"If the callback sets an exception, it must return ``-1``; this exception "
236
240
"will be printed as an unraisable exception using :c:func:"
237
241
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
238
242
msgstr ""
239
243
240
- #: ../../c-api/code.rst:192
244
+ #: ../../c-api/code.rst:196
241
245
msgid ""
242
246
"There may already be a pending exception set on entry to the callback. In "
243
247
"this case, the callback should return ``0`` with the same exception still "
@@ -246,85 +250,85 @@ msgid ""
246
250
"it before returning."
247
251
msgstr ""
248
252
249
- #: ../../c-api/code.rst:202
253
+ #: ../../c-api/code.rst:206
250
254
msgid "Extra information"
251
255
msgstr ""
252
256
253
- #: ../../c-api/code.rst:204
257
+ #: ../../c-api/code.rst:208
254
258
msgid ""
255
259
"To support low-level extensions to frame evaluation, such as external just-"
256
260
"in-time compilers, it is possible to attach arbitrary extra data to code "
257
261
"objects."
258
262
msgstr ""
259
263
260
- #: ../../c-api/code.rst:208
264
+ #: ../../c-api/code.rst:212
261
265
msgid ""
262
266
"These functions are part of the unstable C API tier: this functionality is a "
263
267
"CPython implementation detail, and the API may change without deprecation "
264
268
"warnings."
265
269
msgstr ""
266
270
267
- #: ../../c-api/code.rst:214
271
+ #: ../../c-api/code.rst:218
268
272
msgid "Return a new an opaque index value used to adding data to code objects."
269
273
msgstr ""
270
274
271
- #: ../../c-api/code.rst:216
275
+ #: ../../c-api/code.rst:220
272
276
msgid ""
273
277
"You generally call this function once (per interpreter) and use the result "
274
278
"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
275
279
"individual code objects."
276
280
msgstr ""
277
281
278
- #: ../../c-api/code.rst:220
282
+ #: ../../c-api/code.rst:224
279
283
msgid ""
280
284
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
281
285
"called on non-``NULL`` data stored under the new index. Use :c:func:"
282
286
"`Py_DecRef` when storing :c:type:`PyObject`."
283
287
msgstr ""
284
288
285
- #: ../../c-api/code.rst:226
289
+ #: ../../c-api/code.rst:230
286
290
msgid "as ``_PyEval_RequestCodeExtraIndex``"
287
291
msgstr ""
288
292
289
- #: ../../c-api/code.rst:230
293
+ #: ../../c-api/code.rst:234
290
294
msgid ""
291
295
"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
292
296
"is deprecated, but will be available until the API changes."
293
297
msgstr ""
294
298
295
- #: ../../c-api/code.rst:236
299
+ #: ../../c-api/code.rst:240
296
300
msgid ""
297
301
"Set *extra* to the extra data stored under the given index. Return 0 on "
298
302
"success. Set an exception and return -1 on failure."
299
303
msgstr ""
300
304
301
- #: ../../c-api/code.rst:239
305
+ #: ../../c-api/code.rst:243
302
306
msgid ""
303
307
"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
304
308
"without setting an exception."
305
309
msgstr ""
306
310
307
- #: ../../c-api/code.rst:244
311
+ #: ../../c-api/code.rst:248
308
312
msgid "as ``_PyCode_GetExtra``"
309
313
msgstr ""
310
314
311
- #: ../../c-api/code.rst:248
315
+ #: ../../c-api/code.rst:252
312
316
msgid ""
313
317
"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated, "
314
318
"but will be available until the API changes."
315
319
msgstr ""
316
320
317
- #: ../../c-api/code.rst:254
321
+ #: ../../c-api/code.rst:258
318
322
msgid ""
319
323
"Set the extra data stored under the given index to *extra*. Return 0 on "
320
324
"success. Set an exception and return -1 on failure."
321
325
msgstr ""
322
326
323
- #: ../../c-api/code.rst:259
327
+ #: ../../c-api/code.rst:263
324
328
msgid "as ``_PyCode_SetExtra``"
325
329
msgstr ""
326
330
327
- #: ../../c-api/code.rst:263
331
+ #: ../../c-api/code.rst:267
328
332
msgid ""
329
333
"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated, "
330
334
"but will be available until the API changes."
@@ -342,22 +346,22 @@ msgstr "コード"
342
346
msgid "code object"
343
347
msgstr "コードオブジェクト"
344
348
345
- #: ../../c-api/code.rst:52
349
+ #: ../../c-api/code.rst:56
346
350
msgid "PyCode_New (C function)"
347
351
msgstr ""
348
352
349
- #: ../../c-api/code.rst:65
353
+ #: ../../c-api/code.rst:69
350
354
msgid "PyCode_NewWithPosOnlyArgs (C function)"
351
355
msgstr ""
352
356
353
- #: ../../c-api/code.rst:224
357
+ #: ../../c-api/code.rst:228
354
358
msgid "_PyEval_RequestCodeExtraIndex (C function)"
355
359
msgstr ""
356
360
357
- #: ../../c-api/code.rst:242
361
+ #: ../../c-api/code.rst:246
358
362
msgid "_PyCode_GetExtra (C function)"
359
363
msgstr ""
360
364
361
- #: ../../c-api/code.rst:257
365
+ #: ../../c-api/code.rst:261
362
366
msgid "_PyCode_SetExtra (C function)"
363
367
msgstr ""
0 commit comments