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

Commitba9e907

Browse files
author
github-actions
committed
Update translations from Transifex
1 parentee16fff commitba9e907

26 files changed

+2262
-2879
lines changed

‎.tx/config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,14 @@ minimum_perc = 0
865865
replace_edited_strings = false
866866
keep_translations = false
867867

868+
[o:python-doc:p:python-newest:r:howto--gdb_helpers]
869+
file_filter = ./<lang>/LC_MESSAGES/howto/gdb_helpers.po
870+
source_file = pot/howto/gdb_helpers.pot
871+
type = PO
872+
minimum_perc = 0
873+
replace_edited_strings = false
874+
keep_translations = false
875+
868876
[o:python-doc:p:python-newest:r:howto--index]
869877
file_filter = ./<lang>/LC_MESSAGES/howto/index.po
870878
source_file = pot/howto/index.pot

‎c-api/code.po

Lines changed: 54 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.12\n"
1414
"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"
1616
"PO-Revision-Date:2021-06-28 00:48+0000\n"
1717
"Last-Translator:tomo, 2023\n"
1818
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -57,170 +57,174 @@ msgid ""
5757
msgstr""
5858

5959
#:../../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 ina code object."
61+
msgstr""
6262

6363
#:../../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
6468
msgid""
6569
"Return a new code object. If you need a dummy code object to create a "
6670
"frame, use :c:func:`PyCode_NewEmpty` instead."
6771
msgstr""
6872

69-
#:../../c-api/code.rst:42
73+
#:../../c-api/code.rst:46
7074
msgid""
7175
"Since the definition of the bytecode changes often, calling :c:func:"
7276
"`PyUnstable_Code_New` directly can bind you to a precise Python version."
7377
msgstr""
7478

75-
#:../../c-api/code.rst:45
79+
#:../../c-api/code.rst:49
7680
msgid""
7781
"The many arguments of this function are inter-dependent in complex ways, "
7882
"meaning that subtle changes to values are likely to result in incorrect "
7983
"execution or VM crashes. Use this function only with extreme care."
8084
msgstr""
8185

82-
#:../../c-api/code.rst:49
86+
#:../../c-api/code.rst:53
8387
msgid"Added ``qualname`` and ``exceptiontable`` parameters."
8488
msgstr""
8589

86-
#:../../c-api/code.rst:56
90+
#:../../c-api/code.rst:60
8791
msgid""
8892
"Renamed from ``PyCode_New`` as part of :ref:`unstable-c-api`. The old name "
8993
"is deprecated, but will remain available until the signature changes again."
9094
msgstr""
9195

92-
#:../../c-api/code.rst:62
96+
#:../../c-api/code.rst:66
9397
msgid""
9498
"Similar to :c:func:`PyUnstable_Code_New`, but with an extra "
9599
"\"posonlyargcount\" for positional-only arguments. The same caveats that "
96100
"apply to ``PyUnstable_Code_New`` also apply to this function."
97101
msgstr""
98102

99-
#:../../c-api/code.rst:67
103+
#:../../c-api/code.rst:71
100104
msgid"as ``PyCode_NewWithPosOnlyArgs``"
101105
msgstr""
102106

103-
#:../../c-api/code.rst:69
107+
#:../../c-api/code.rst:73
104108
msgid"Added ``qualname`` and ``exceptiontable`` parameters."
105109
msgstr""
106110

107-
#:../../c-api/code.rst:74
111+
#:../../c-api/code.rst:78
108112
msgid""
109113
"Renamed to ``PyUnstable_Code_NewWithPosOnlyArgs``. The old name is "
110114
"deprecated, but will remain available until the signature changes again."
111115
msgstr""
112116

113-
#:../../c-api/code.rst:80
117+
#:../../c-api/code.rst:84
114118
msgid""
115119
"Return a new empty code object with the specified filename, function name, "
116120
"and first line number. The resulting code object will raise an ``Exception`` "
117121
"if executed."
118122
msgstr""
119123

120-
#:../../c-api/code.rst:86
124+
#:../../c-api/code.rst:90
121125
msgid""
122126
"Return the line number of the instruction that occurs on or before "
123127
"``byte_offset`` and ends after it. If you just need the line number of a "
124128
"frame, use :c:func:`PyFrame_GetLineNumber` instead."
125129
msgstr""
126130

127-
#:../../c-api/code.rst:89
131+
#:../../c-api/code.rst:93
128132
msgid""
129133
"For efficiently iterating over the line numbers in a code object, use `the "
130134
"API described in PEP 626 <https://peps.python.org/pep-0626/#out-of-process-"
131135
"debuggers-and-profilers>`_."
132136
msgstr""
133137

134-
#:../../c-api/code.rst:94
138+
#:../../c-api/code.rst:98
135139
msgid""
136140
"Sets the passed ``int`` pointers to the source code line and column numbers "
137141
"for the instruction at ``byte_offset``. Sets the value to ``0`` when "
138142
"information is not available for any particular element."
139143
msgstr""
140144

141-
#:../../c-api/code.rst:98
145+
#:../../c-api/code.rst:102
142146
msgid"Returns ``1`` if the function succeeds and 0 otherwise."
143147
msgstr""
144148

145-
#:../../c-api/code.rst:104
149+
#:../../c-api/code.rst:108
146150
msgid""
147151
"Equivalent to the Python code ``getattr(co, 'co_code')``. Returns a strong "
148152
"reference to a :c:type:`PyBytesObject` representing the bytecode in a code "
149153
"object. On error, ``NULL`` is returned and an exception is raised."
150154
msgstr""
151155

152-
#:../../c-api/code.rst:109
156+
#:../../c-api/code.rst:113
153157
msgid""
154158
"This ``PyBytesObject`` may be created on-demand by the interpreter and does "
155159
"not necessarily represent the bytecode actually executed by CPython. The "
156160
"primary use case for this function is debuggers and profilers."
157161
msgstr""
158162

159-
#:../../c-api/code.rst:117
163+
#:../../c-api/code.rst:121
160164
msgid""
161165
"Equivalent to the Python code ``getattr(co, 'co_varnames')``. Returns a new "
162166
"reference to a :c:type:`PyTupleObject` containing the names of the local "
163167
"variables. On error, ``NULL`` is returned and an exception is raised."
164168
msgstr""
165169

166-
#:../../c-api/code.rst:126
170+
#:../../c-api/code.rst:130
167171
msgid""
168172
"Equivalent to the Python code ``getattr(co, 'co_cellvars')``. Returns a new "
169173
"reference to a :c:type:`PyTupleObject` containing the names of the local "
170174
"variables that are referenced by nested functions. On error, ``NULL`` is "
171175
"returned and an exception is raised."
172176
msgstr""
173177

174-
#:../../c-api/code.rst:135
178+
#:../../c-api/code.rst:139
175179
msgid""
176180
"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new "
177181
"reference to a :c:type:`PyTupleObject` containing the names of the free "
178182
"variables. On error, ``NULL`` is returned and an exception is raised."
179183
msgstr""
180184

181-
#:../../c-api/code.rst:143
185+
#:../../c-api/code.rst:147
182186
msgid""
183187
"Register *callback* as a code object watcher for the current interpreter. "
184188
"Return an ID which may be passed to :c:func:`PyCode_ClearWatcher`. In case "
185189
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
186190
"exception."
187191
msgstr""
188192

189-
#:../../c-api/code.rst:152
193+
#:../../c-api/code.rst:156
190194
msgid""
191195
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
192196
"`PyCode_AddWatcher` for the current interpreter. Return ``0`` on success, or "
193197
"``-1`` and set an exception on error (e.g. if the given *watcher_id* was "
194198
"never registered.)"
195199
msgstr""
196200

197-
#:../../c-api/code.rst:161
201+
#:../../c-api/code.rst:165
198202
msgid""
199203
"Enumeration of possible code object watcher events: - "
200204
"``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
201205
msgstr""
202206

203-
#:../../c-api/code.rst:169
207+
#:../../c-api/code.rst:173
204208
msgid"Type of a code object watcher callback function."
205209
msgstr""
206210

207-
#:../../c-api/code.rst:171
211+
#:../../c-api/code.rst:175
208212
msgid""
209213
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
210214
"`co` has been fully initialized. Otherwise, the callback is invoked before "
211215
"the destruction of *co* takes place, so the prior state of *co* can be "
212216
"inspected."
213217
msgstr""
214218

215-
#:../../c-api/code.rst:176
219+
#:../../c-api/code.rst:180
216220
msgid""
217221
"If *event* is ``PY_CODE_EVENT_DESTROY``, taking a reference in the callback "
218222
"to the about-to-be-destroyed code object will resurrect it and prevent it "
219223
"from being freed at this time. When the resurrected object is destroyed "
220224
"later, any watcher callbacks active at that time will be called again."
221225
msgstr""
222226

223-
#:../../c-api/code.rst:181
227+
#:../../c-api/code.rst:185
224228
msgid""
225229
"Users of this API should not rely on internal runtime implementation "
226230
"details. Such details may include, but are not limited to, the exact order "
@@ -230,14 +234,14 @@ msgid ""
230234
"the Python code being executed."
231235
msgstr""
232236

233-
#:../../c-api/code.rst:188
237+
#:../../c-api/code.rst:192
234238
msgid""
235239
"If the callback sets an exception, it must return ``-1``; this exception "
236240
"will be printed as an unraisable exception using :c:func:"
237241
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
238242
msgstr""
239243

240-
#:../../c-api/code.rst:192
244+
#:../../c-api/code.rst:196
241245
msgid""
242246
"There may already be a pending exception set on entry to the callback. In "
243247
"this case, the callback should return ``0`` with the same exception still "
@@ -246,85 +250,85 @@ msgid ""
246250
"it before returning."
247251
msgstr""
248252

249-
#:../../c-api/code.rst:202
253+
#:../../c-api/code.rst:206
250254
msgid"Extra information"
251255
msgstr""
252256

253-
#:../../c-api/code.rst:204
257+
#:../../c-api/code.rst:208
254258
msgid""
255259
"To support low-level extensions to frame evaluation, such as external just-"
256260
"in-time compilers, it is possible to attach arbitrary extra data to code "
257261
"objects."
258262
msgstr""
259263

260-
#:../../c-api/code.rst:208
264+
#:../../c-api/code.rst:212
261265
msgid""
262266
"These functions are part of the unstable C API tier: this functionality is a "
263267
"CPython implementation detail, and the API may change without deprecation "
264268
"warnings."
265269
msgstr""
266270

267-
#:../../c-api/code.rst:214
271+
#:../../c-api/code.rst:218
268272
msgid"Return a new an opaque index value used to adding data to code objects."
269273
msgstr""
270274

271-
#:../../c-api/code.rst:216
275+
#:../../c-api/code.rst:220
272276
msgid""
273277
"You generally call this function once (per interpreter) and use the result "
274278
"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
275279
"individual code objects."
276280
msgstr""
277281

278-
#:../../c-api/code.rst:220
282+
#:../../c-api/code.rst:224
279283
msgid""
280284
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
281285
"called on non-``NULL`` data stored under the new index. Use :c:func:"
282286
"`Py_DecRef` when storing :c:type:`PyObject`."
283287
msgstr""
284288

285-
#:../../c-api/code.rst:226
289+
#:../../c-api/code.rst:230
286290
msgid"as ``_PyEval_RequestCodeExtraIndex``"
287291
msgstr""
288292

289-
#:../../c-api/code.rst:230
293+
#:../../c-api/code.rst:234
290294
msgid""
291295
"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
292296
"is deprecated, but will be available until the API changes."
293297
msgstr""
294298

295-
#:../../c-api/code.rst:236
299+
#:../../c-api/code.rst:240
296300
msgid""
297301
"Set *extra* to the extra data stored under the given index. Return 0 on "
298302
"success. Set an exception and return -1 on failure."
299303
msgstr""
300304

301-
#:../../c-api/code.rst:239
305+
#:../../c-api/code.rst:243
302306
msgid""
303307
"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
304308
"without setting an exception."
305309
msgstr""
306310

307-
#:../../c-api/code.rst:244
311+
#:../../c-api/code.rst:248
308312
msgid"as ``_PyCode_GetExtra``"
309313
msgstr""
310314

311-
#:../../c-api/code.rst:248
315+
#:../../c-api/code.rst:252
312316
msgid""
313317
"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated, "
314318
"but will be available until the API changes."
315319
msgstr""
316320

317-
#:../../c-api/code.rst:254
321+
#:../../c-api/code.rst:258
318322
msgid""
319323
"Set the extra data stored under the given index to *extra*. Return 0 on "
320324
"success. Set an exception and return -1 on failure."
321325
msgstr""
322326

323-
#:../../c-api/code.rst:259
327+
#:../../c-api/code.rst:263
324328
msgid"as ``_PyCode_SetExtra``"
325329
msgstr""
326330

327-
#:../../c-api/code.rst:263
331+
#:../../c-api/code.rst:267
328332
msgid""
329333
"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated, "
330334
"but will be available until the API changes."
@@ -342,22 +346,22 @@ msgstr "コード"
342346
msgid"code object"
343347
msgstr"コードオブジェクト"
344348

345-
#:../../c-api/code.rst:52
349+
#:../../c-api/code.rst:56
346350
msgid"PyCode_New (C function)"
347351
msgstr""
348352

349-
#:../../c-api/code.rst:65
353+
#:../../c-api/code.rst:69
350354
msgid"PyCode_NewWithPosOnlyArgs (C function)"
351355
msgstr""
352356

353-
#:../../c-api/code.rst:224
357+
#:../../c-api/code.rst:228
354358
msgid"_PyEval_RequestCodeExtraIndex (C function)"
355359
msgstr""
356360

357-
#:../../c-api/code.rst:242
361+
#:../../c-api/code.rst:246
358362
msgid"_PyCode_GetExtra (C function)"
359363
msgstr""
360364

361-
#:../../c-api/code.rst:257
365+
#:../../c-api/code.rst:261
362366
msgid"_PyCode_SetExtra (C function)"
363367
msgstr""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp