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

Commitb683422

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent513fa48 commitb683422

File tree

91 files changed

+6306
-7059
lines changed

Some content is hidden

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

91 files changed

+6306
-7059
lines changed

‎c-api/code.po

Lines changed: 60 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version:Python 3.13\n"
1616
"Report-Msgid-Bugs-To:\n"
17-
"POT-Creation-Date:2024-09-27 14:17+0000\n"
17+
"POT-Creation-Date:2024-10-11 14:17+0000\n"
1818
"PO-Revision-Date:2021-06-28 00:48+0000\n"
1919
"Last-Translator:Taichi Haradaguchi, 2024\n"
2020
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -59,180 +59,185 @@ msgid ""
5959
msgstr""
6060

6161
#:../../c-api/code.rst:35
62-
msgid"Return the number of free variables in a code object."
62+
msgid""
63+
"Return the number of :term:`free (closure) variables <closure variable>` in "
64+
"a code object."
6365
msgstr""
6466

65-
#:../../c-api/code.rst:39
66-
msgid"Return the position of the first free variable in a code object."
67+
#:../../c-api/code.rst:40
68+
msgid""
69+
"Return the position of the first :term:`free (closure) variable <closure "
70+
"variable>` in a code object."
6771
msgstr""
6872

69-
#:../../c-api/code.rst:43
73+
#:../../c-api/code.rst:45
7074
msgid""
7175
"Renamed from ``PyCode_GetFirstFree`` as part of :ref:`unstable-c-api`. The "
7276
"old name is deprecated, but will remain available until the signature "
7377
"changes again."
7478
msgstr""
7579

76-
#:../../c-api/code.rst:49
80+
#:../../c-api/code.rst:51
7781
msgid""
7882
"Return a new code object. If you need a dummy code object to create a "
7983
"frame, use :c:func:`PyCode_NewEmpty` instead."
8084
msgstr""
8185

82-
#:../../c-api/code.rst:52
86+
#:../../c-api/code.rst:54
8387
msgid""
8488
"Since the definition of the bytecode changes often, calling :c:func:"
8589
"`PyUnstable_Code_New` directly can bind you to a precise Python version."
8690
msgstr""
8791

88-
#:../../c-api/code.rst:55
92+
#:../../c-api/code.rst:57
8993
msgid""
9094
"The many arguments of this function are inter-dependent in complex ways, "
9195
"meaning that subtle changes to values are likely to result in incorrect "
9296
"execution or VM crashes. Use this function only with extreme care."
9397
msgstr""
9498

95-
#:../../c-api/code.rst:59
99+
#:../../c-api/code.rst:61
96100
msgid"Added ``qualname`` and ``exceptiontable`` parameters."
97101
msgstr""
98102

99-
#:../../c-api/code.rst:66
103+
#:../../c-api/code.rst:68
100104
msgid""
101105
"Renamed from ``PyCode_New`` as part of :ref:`unstable-c-api`. The old name "
102106
"is deprecated, but will remain available until the signature changes again."
103107
msgstr""
104108

105-
#:../../c-api/code.rst:72
109+
#:../../c-api/code.rst:74
106110
msgid""
107111
"Similar to :c:func:`PyUnstable_Code_New`, but with an extra "
108112
"\"posonlyargcount\" for positional-only arguments. The same caveats that "
109113
"apply to ``PyUnstable_Code_New`` also apply to this function."
110114
msgstr""
111115

112-
#:../../c-api/code.rst:77
116+
#:../../c-api/code.rst:79
113117
msgid"as ``PyCode_NewWithPosOnlyArgs``"
114118
msgstr""
115119

116-
#:../../c-api/code.rst:79
120+
#:../../c-api/code.rst:81
117121
msgid"Added ``qualname`` and ``exceptiontable`` parameters."
118122
msgstr""
119123

120-
#:../../c-api/code.rst:84
124+
#:../../c-api/code.rst:86
121125
msgid""
122126
"Renamed to ``PyUnstable_Code_NewWithPosOnlyArgs``. The old name is "
123127
"deprecated, but will remain available until the signature changes again."
124128
msgstr""
125129

126-
#:../../c-api/code.rst:90
130+
#:../../c-api/code.rst:92
127131
msgid""
128132
"Return a new empty code object with the specified filename, function name, "
129133
"and first line number. The resulting code object will raise an ``Exception`` "
130134
"if executed."
131135
msgstr""
132136

133-
#:../../c-api/code.rst:96
137+
#:../../c-api/code.rst:98
134138
msgid""
135139
"Return the line number of the instruction that occurs on or before "
136140
"``byte_offset`` and ends after it. If you just need the line number of a "
137141
"frame, use :c:func:`PyFrame_GetLineNumber` instead."
138142
msgstr""
139143

140-
#:../../c-api/code.rst:99
144+
#:../../c-api/code.rst:101
141145
msgid""
142146
"For efficiently iterating over the line numbers in a code object, use :pep:"
143147
"`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`."
144148
msgstr""
145149

146-
#:../../c-api/code.rst:104
150+
#:../../c-api/code.rst:106
147151
msgid""
148152
"Sets the passed ``int`` pointers to the source code line and column numbers "
149153
"for the instruction at ``byte_offset``. Sets the value to ``0`` when "
150154
"information is not available for any particular element."
151155
msgstr""
152156

153-
#:../../c-api/code.rst:108
157+
#:../../c-api/code.rst:110
154158
msgid"Returns ``1`` if the function succeeds and 0 otherwise."
155159
msgstr""
156160

157-
#:../../c-api/code.rst:114
161+
#:../../c-api/code.rst:116
158162
msgid""
159163
"Equivalent to the Python code ``getattr(co, 'co_code')``. Returns a strong "
160164
"reference to a :c:type:`PyBytesObject` representing the bytecode in a code "
161165
"object. On error, ``NULL`` is returned and an exception is raised."
162166
msgstr""
163167

164-
#:../../c-api/code.rst:119
168+
#:../../c-api/code.rst:121
165169
msgid""
166170
"This ``PyBytesObject`` may be created on-demand by the interpreter and does "
167171
"not necessarily represent the bytecode actually executed by CPython. The "
168172
"primary use case for this function is debuggers and profilers."
169173
msgstr""
170174

171-
#:../../c-api/code.rst:127
175+
#:../../c-api/code.rst:129
172176
msgid""
173177
"Equivalent to the Python code ``getattr(co, 'co_varnames')``. Returns a new "
174178
"reference to a :c:type:`PyTupleObject` containing the names of the local "
175179
"variables. On error, ``NULL`` is returned and an exception is raised."
176180
msgstr""
177181

178-
#:../../c-api/code.rst:136
182+
#:../../c-api/code.rst:138
179183
msgid""
180184
"Equivalent to the Python code ``getattr(co, 'co_cellvars')``. Returns a new "
181185
"reference to a :c:type:`PyTupleObject` containing the names of the local "
182186
"variables that are referenced by nested functions. On error, ``NULL`` is "
183187
"returned and an exception is raised."
184188
msgstr""
185189

186-
#:../../c-api/code.rst:145
190+
#:../../c-api/code.rst:147
187191
msgid""
188192
"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new "
189-
"reference to a :c:type:`PyTupleObject` containing the names of the free "
190-
"variables. On error, ``NULL`` is returned and an exception is raised."
193+
"reference to a :c:type:`PyTupleObject` containing the names of the :term:"
194+
"`free (closure) variables <closure variable>`. On error, ``NULL`` is "
195+
"returned and an exception is raised."
191196
msgstr""
192197

193-
#:../../c-api/code.rst:153
198+
#:../../c-api/code.rst:156
194199
msgid""
195200
"Register *callback* as a code object watcher for the current interpreter. "
196201
"Return an ID which may be passed to :c:func:`PyCode_ClearWatcher`. In case "
197202
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
198203
"exception."
199204
msgstr""
200205

201-
#:../../c-api/code.rst:162
206+
#:../../c-api/code.rst:165
202207
msgid""
203208
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
204209
"`PyCode_AddWatcher` for the current interpreter. Return ``0`` on success, or "
205210
"``-1`` and set an exception on error (e.g. if the given *watcher_id* was "
206211
"never registered.)"
207212
msgstr""
208213

209-
#:../../c-api/code.rst:171
214+
#:../../c-api/code.rst:174
210215
msgid""
211216
"Enumeration of possible code object watcher events: - "
212217
"``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
213218
msgstr""
214219

215-
#:../../c-api/code.rst:179
220+
#:../../c-api/code.rst:182
216221
msgid"Type of a code object watcher callback function."
217222
msgstr""
218223

219-
#:../../c-api/code.rst:181
224+
#:../../c-api/code.rst:184
220225
msgid""
221226
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
222227
"`co` has been fully initialized. Otherwise, the callback is invoked before "
223228
"the destruction of *co* takes place, so the prior state of *co* can be "
224229
"inspected."
225230
msgstr""
226231

227-
#:../../c-api/code.rst:186
232+
#:../../c-api/code.rst:189
228233
msgid""
229234
"If *event* is ``PY_CODE_EVENT_DESTROY``, taking a reference in the callback "
230235
"to the about-to-be-destroyed code object will resurrect it and prevent it "
231236
"from being freed at this time. When the resurrected object is destroyed "
232237
"later, any watcher callbacks active at that time will be called again."
233238
msgstr""
234239

235-
#:../../c-api/code.rst:191
240+
#:../../c-api/code.rst:194
236241
msgid""
237242
"Users of this API should not rely on internal runtime implementation "
238243
"details. Such details may include, but are not limited to, the exact order "
@@ -242,14 +247,14 @@ msgid ""
242247
"the Python code being executed."
243248
msgstr""
244249

245-
#:../../c-api/code.rst:198
250+
#:../../c-api/code.rst:201
246251
msgid""
247252
"If the callback sets an exception, it must return ``-1``; this exception "
248253
"will be printed as an unraisable exception using :c:func:"
249254
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
250255
msgstr""
251256

252-
#:../../c-api/code.rst:202
257+
#:../../c-api/code.rst:205
253258
msgid""
254259
"There may already be a pending exception set on entry to the callback. In "
255260
"this case, the callback should return ``0`` with the same exception still "
@@ -258,85 +263,85 @@ msgid ""
258263
"it before returning."
259264
msgstr""
260265

261-
#:../../c-api/code.rst:212
266+
#:../../c-api/code.rst:215
262267
msgid"Extra information"
263268
msgstr""
264269

265-
#:../../c-api/code.rst:214
270+
#:../../c-api/code.rst:217
266271
msgid""
267272
"To support low-level extensions to frame evaluation, such as external just-"
268273
"in-time compilers, it is possible to attach arbitrary extra data to code "
269274
"objects."
270275
msgstr""
271276

272-
#:../../c-api/code.rst:218
277+
#:../../c-api/code.rst:221
273278
msgid""
274279
"These functions are part of the unstable C API tier: this functionality is a "
275280
"CPython implementation detail, and the API may change without deprecation "
276281
"warnings."
277282
msgstr""
278283

279-
#:../../c-api/code.rst:224
284+
#:../../c-api/code.rst:227
280285
msgid"Return a new an opaque index value used to adding data to code objects."
281286
msgstr""
282287

283-
#:../../c-api/code.rst:226
288+
#:../../c-api/code.rst:229
284289
msgid""
285290
"You generally call this function once (per interpreter) and use the result "
286291
"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
287292
"individual code objects."
288293
msgstr""
289294

290-
#:../../c-api/code.rst:230
295+
#:../../c-api/code.rst:233
291296
msgid""
292297
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
293298
"called on non-``NULL`` data stored under the new index. Use :c:func:"
294299
"`Py_DecRef` when storing :c:type:`PyObject`."
295300
msgstr""
296301

297-
#:../../c-api/code.rst:236
302+
#:../../c-api/code.rst:239
298303
msgid"as ``_PyEval_RequestCodeExtraIndex``"
299304
msgstr""
300305

301-
#:../../c-api/code.rst:240
306+
#:../../c-api/code.rst:243
302307
msgid""
303308
"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
304309
"is deprecated, but will be available until the API changes."
305310
msgstr""
306311

307-
#:../../c-api/code.rst:246
312+
#:../../c-api/code.rst:249
308313
msgid""
309314
"Set *extra* to the extra data stored under the given index. Return 0 on "
310315
"success. Set an exception and return -1 on failure."
311316
msgstr""
312317

313-
#:../../c-api/code.rst:249
318+
#:../../c-api/code.rst:252
314319
msgid""
315320
"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
316321
"without setting an exception."
317322
msgstr""
318323

319-
#:../../c-api/code.rst:254
324+
#:../../c-api/code.rst:257
320325
msgid"as ``_PyCode_GetExtra``"
321326
msgstr""
322327

323-
#:../../c-api/code.rst:258
328+
#:../../c-api/code.rst:261
324329
msgid""
325330
"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated, "
326331
"but will be available until the API changes."
327332
msgstr""
328333

329-
#:../../c-api/code.rst:264
334+
#:../../c-api/code.rst:267
330335
msgid""
331336
"Set the extra data stored under the given index to *extra*. Return 0 on "
332337
"success. Set an exception and return -1 on failure."
333338
msgstr""
334339

335-
#:../../c-api/code.rst:269
340+
#:../../c-api/code.rst:272
336341
msgid"as ``_PyCode_SetExtra``"
337342
msgstr""
338343

339-
#:../../c-api/code.rst:273
344+
#:../../c-api/code.rst:276
340345
msgid""
341346
"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated, "
342347
"but will be available until the API changes."
@@ -354,22 +359,22 @@ msgstr "コード"
354359
msgid"code object"
355360
msgstr"コードオブジェクト"
356361

357-
#:../../c-api/code.rst:62
362+
#:../../c-api/code.rst:64
358363
msgid"PyCode_New (C function)"
359364
msgstr"PyCode_New (C 関数)"
360365

361-
#:../../c-api/code.rst:75
366+
#:../../c-api/code.rst:77
362367
msgid"PyCode_NewWithPosOnlyArgs (C function)"
363368
msgstr"PyCode_NewWithPosOnlyArgs (C 関数)"
364369

365-
#:../../c-api/code.rst:234
370+
#:../../c-api/code.rst:237
366371
msgid"_PyEval_RequestCodeExtraIndex (C function)"
367372
msgstr"_PyEval_RequestCodeExtraIndex (C 関数)"
368373

369-
#:../../c-api/code.rst:252
374+
#:../../c-api/code.rst:255
370375
msgid"_PyCode_GetExtra (C function)"
371376
msgstr"_PyCode_GetExtra (C 関数)"
372377

373-
#:../../c-api/code.rst:267
378+
#:../../c-api/code.rst:270
374379
msgid"_PyCode_SetExtra (C function)"
375380
msgstr"_PyCode_SetExtra (C 関数)"

‎c-api/exceptions.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version:Python 3.13\n"
1818
"Report-Msgid-Bugs-To:\n"
19-
"POT-Creation-Date:2024-09-27 14:17+0000\n"
19+
"POT-Creation-Date:2024-10-11 14:17+0000\n"
2020
"PO-Revision-Date:2021-06-28 00:48+0000\n"
2121
"Last-Translator:Taichi Haradaguchi, 2024\n"
2222
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -332,8 +332,8 @@ msgstr ""
332332
#:../../c-api/exceptions.rst:234../../c-api/exceptions.rst:242
333333
#:../../c-api/exceptions.rst:253../../c-api/exceptions.rst:263
334334
#:../../c-api/exceptions.rst:271../../c-api/exceptions.rst:281
335-
msgid":ref:`Availability <availability>`: Windows."
336-
msgstr":ref:`利用可能な環境 <availability>`: Windows 。"
335+
msgid"Availability"
336+
msgstr""
337337

338338
#:../../c-api/exceptions.rst:239
339339
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp