@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.11\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2023-01-13 14:15 +0000\n "
14
+ "POT-Creation-Date : 2023-01-27 14:14 +0000\n "
15
15
"PO-Revision-Date : 2021-06-28 00:49+0000\n "
16
16
"Last-Translator : tomo, 2021\n "
17
17
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ "
@@ -146,51 +146,58 @@ msgstr ""
146
146
"す。\n"
147
147
"数字が全くない場合、 :exc:`ValueError` が送出されます。"
148
148
149
- #: ../../c-api/long.rst:99
149
+ #: ../../c-api/long.rst:96
150
+ msgid ""
151
+ "Python methods :meth:`int.to_bytes` and :meth:`int.from_bytes` to convert a :"
152
+ "c:type:`PyLongObject` to/from an array of bytes in base ``256``. You can "
153
+ "call those from C using :c:func:`PyObject_CallMethod`."
154
+ msgstr ""
155
+
156
+ #: ../../c-api/long.rst:103
150
157
msgid ""
151
158
"Convert a sequence of Unicode digits in the string *u* to a Python integer "
152
159
"value."
153
160
msgstr ""
154
161
155
- #: ../../c-api/long.rst:107
162
+ #: ../../c-api/long.rst:111
156
163
msgid ""
157
164
"Create a Python integer from the pointer *p*. The pointer value can be "
158
165
"retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`."
159
166
msgstr ""
160
167
"ポインタ *p* から Python 整数値を生成します。ポインタの値は :c:func:"
161
168
"`PyLong_AsVoidPtr` を適用した結果から取得されます。"
162
169
163
- #: ../../c-api/long.rst:118 ../../c-api/long.rst:136
170
+ #: ../../c-api/long.rst:122 ../../c-api/long.rst:140
164
171
msgid ""
165
172
"Return a C :c:expr:`long` representation of *obj*. If *obj* is not an "
166
173
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method "
167
174
"(if present) to convert it to a :c:type:`PyLongObject`."
168
175
msgstr ""
169
176
170
- #: ../../c-api/long.rst:122
177
+ #: ../../c-api/long.rst:126
171
178
msgid ""
172
179
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:"
173
180
"expr:`long`."
174
181
msgstr ""
175
182
176
- #: ../../c-api/long.rst:125 ../../c-api/long.rst:145 ../../c-api/long.rst:166
177
- #: ../../c-api/long.rst:186 ../../c-api/long.rst:209
183
+ #: ../../c-api/long.rst:129 ../../c-api/long.rst:149 ../../c-api/long.rst:170
184
+ #: ../../c-api/long.rst:190 ../../c-api/long.rst:213
178
185
msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
179
186
msgstr ""
180
187
"エラーが起きたときに ``-1`` を返します。\n"
181
188
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
182
189
183
- #: ../../c-api/long.rst:127 ../../c-api/long.rst:147 ../../c-api/long.rst:168
184
- #: ../../c-api/long.rst:190 ../../c-api/long.rst:274 ../../c-api/long.rst:294
190
+ #: ../../c-api/long.rst:131 ../../c-api/long.rst:151 ../../c-api/long.rst:172
191
+ #: ../../c-api/long.rst:194 ../../c-api/long.rst:278 ../../c-api/long.rst:298
185
192
msgid "Use :meth:`__index__` if available."
186
193
msgstr "可能であれば :meth:`__index__` を使うようになりました。"
187
194
188
- #: ../../c-api/long.rst:130 ../../c-api/long.rst:150 ../../c-api/long.rst:171
189
- #: ../../c-api/long.rst:193 ../../c-api/long.rst:277 ../../c-api/long.rst:297
195
+ #: ../../c-api/long.rst:134 ../../c-api/long.rst:154 ../../c-api/long.rst:175
196
+ #: ../../c-api/long.rst:197 ../../c-api/long.rst:281 ../../c-api/long.rst:301
190
197
msgid "This function will no longer use :meth:`__int__`."
191
198
msgstr ""
192
199
193
- #: ../../c-api/long.rst:140
200
+ #: ../../c-api/long.rst:144
194
201
msgid ""
195
202
"If the value of *obj* is greater than :const:`LONG_MAX` or less than :const:"
196
203
"`LONG_MIN`, set *\\ *overflow* to ``1`` or ``-1``, respectively, and return "
@@ -202,20 +209,20 @@ msgstr ""
202
209
"返します; さもなければ *\\ *overflow* は ``0`` に設定されます。もし、ほかの例"
203
210
"外が発生した場合は *\\ *overflow* が ``0`` に設定され ``-1`` を返します。"
204
211
205
- #: ../../c-api/long.rst:159 ../../c-api/long.rst:177
212
+ #: ../../c-api/long.rst:163 ../../c-api/long.rst:181
206
213
msgid ""
207
214
"Return a C :c:expr:`long long` representation of *obj*. If *obj* is not an "
208
215
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method "
209
216
"(if present) to convert it to a :c:type:`PyLongObject`."
210
217
msgstr ""
211
218
212
- #: ../../c-api/long.rst:163
219
+ #: ../../c-api/long.rst:167
213
220
msgid ""
214
221
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:"
215
222
"expr:`long long`."
216
223
msgstr ""
217
224
218
- #: ../../c-api/long.rst:181
225
+ #: ../../c-api/long.rst:185
219
226
msgid ""
220
227
"If the value of *obj* is greater than :const:`LLONG_MAX` or less than :const:"
221
228
"`LLONG_MIN`, set *\\ *overflow* to ``1`` or ``-1``, respectively, and return "
@@ -227,163 +234,163 @@ msgstr ""
227
234
"を返します; さもなければ *\\ *overflow* は ``0`` に設定されます。もし、ほかの"
228
235
"例外が発生した場合は *\\ *overflow* が ``0`` に設定され ``-1`` を返します。"
229
236
230
- #: ../../c-api/long.rst:203
237
+ #: ../../c-api/long.rst:207
231
238
msgid ""
232
239
"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must "
233
240
"be an instance of :c:type:`PyLongObject`."
234
241
msgstr ""
235
242
"*pylong* を表す C の :c:type:`Py_ssize_t` を返します。 *pylong* は :c:type:"
236
243
"`PyLongObject` のインスタンスでなければなりません。"
237
244
238
- #: ../../c-api/long.rst:206
245
+ #: ../../c-api/long.rst:210
239
246
msgid ""
240
247
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
241
248
"type:`Py_ssize_t`."
242
249
msgstr ""
243
250
"もし *pylong* の値が :c:type:`Py_ssize_t` の範囲外であれば、 :exc:"
244
251
"`OverflowError` を送出します。"
245
252
246
- #: ../../c-api/long.rst:218
253
+ #: ../../c-api/long.rst:222
247
254
msgid ""
248
255
"Return a C :c:expr:`unsigned long` representation of *pylong*. *pylong* "
249
256
"must be an instance of :c:type:`PyLongObject`."
250
257
msgstr ""
251
258
252
- #: ../../c-api/long.rst:221
259
+ #: ../../c-api/long.rst:225
253
260
msgid ""
254
261
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
255
262
"expr:`unsigned long`."
256
263
msgstr ""
257
264
258
- #: ../../c-api/long.rst:224
265
+ #: ../../c-api/long.rst:228
259
266
msgid ""
260
267
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
261
268
"disambiguate."
262
269
msgstr ""
263
270
"エラーが起きたときに ``(unsigned long)-1`` を返します。\n"
264
271
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
265
272
266
- #: ../../c-api/long.rst:234
273
+ #: ../../c-api/long.rst:238
267
274
msgid ""
268
275
"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an "
269
276
"instance of :c:type:`PyLongObject`."
270
277
msgstr ""
271
278
"*pylong* を表す C の :c:type:`size_t` を返します。 *pylong* は :c:type:"
272
279
"`PyLongObject` のインスタンスでなければなりません。"
273
280
274
- #: ../../c-api/long.rst:237
281
+ #: ../../c-api/long.rst:241
275
282
msgid ""
276
283
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
277
284
"type:`size_t`."
278
285
msgstr ""
279
286
"もし *pylong* の値が :c:type:`size_t` の範囲外であれば、 :exc:"
280
287
"`OverflowError` を送出します。"
281
288
282
- #: ../../c-api/long.rst:240
289
+ #: ../../c-api/long.rst:244
283
290
msgid ""
284
291
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
285
292
"disambiguate."
286
293
msgstr ""
287
294
"エラーが起きたときに ``(size_t)-1`` を返します。\n"
288
295
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
289
296
290
- #: ../../c-api/long.rst:249
297
+ #: ../../c-api/long.rst:253
291
298
msgid ""
292
299
"Return a C :c:expr:`unsigned long long` representation of *pylong*. "
293
300
"*pylong* must be an instance of :c:type:`PyLongObject`."
294
301
msgstr ""
295
302
296
- #: ../../c-api/long.rst:252
303
+ #: ../../c-api/long.rst:256
297
304
msgid ""
298
305
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an :"
299
306
"c:expr:`unsigned long long`."
300
307
msgstr ""
301
308
302
- #: ../../c-api/long.rst:255
309
+ #: ../../c-api/long.rst:259
303
310
msgid ""
304
311
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
305
312
"disambiguate."
306
313
msgstr ""
307
314
"エラーが起きたときに ``(unsigned long long)-1`` を返します。\n"
308
315
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
309
316
310
- #: ../../c-api/long.rst:258
317
+ #: ../../c-api/long.rst:262
311
318
msgid ""
312
319
"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`."
313
320
msgstr ""
314
321
"負 *pylong* を指定した際に :exc:`TypeError` ではなく、 :exc:`OverflowError` "
315
322
"を送出するようになりました。"
316
323
317
- #: ../../c-api/long.rst:264
324
+ #: ../../c-api/long.rst:268
318
325
msgid ""
319
326
"Return a C :c:expr:`unsigned long` representation of *obj*. If *obj* is not "
320
327
"an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` "
321
328
"method (if present) to convert it to a :c:type:`PyLongObject`."
322
329
msgstr ""
323
330
324
- #: ../../c-api/long.rst:268
331
+ #: ../../c-api/long.rst:272
325
332
msgid ""
326
333
"If the value of *obj* is out of range for an :c:expr:`unsigned long`, return "
327
334
"the reduction of that value modulo ``ULONG_MAX + 1``."
328
335
msgstr ""
329
336
330
- #: ../../c-api/long.rst:271
337
+ #: ../../c-api/long.rst:275
331
338
msgid ""
332
339
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
333
340
"disambiguate."
334
341
msgstr ""
335
342
"エラーが起きたときに ``(unsigned long)-1`` を返します。\n"
336
343
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
337
344
338
- #: ../../c-api/long.rst:283
345
+ #: ../../c-api/long.rst:287
339
346
msgid ""
340
347
"Return a C :c:expr:`unsigned long long` representation of *obj*. If *obj* "
341
348
"is not an instance of :c:type:`PyLongObject`, first call its :meth:"
342
349
"`__index__` method (if present) to convert it to a :c:type:`PyLongObject`."
343
350
msgstr ""
344
351
345
- #: ../../c-api/long.rst:288
352
+ #: ../../c-api/long.rst:292
346
353
msgid ""
347
354
"If the value of *obj* is out of range for an :c:expr:`unsigned long long`, "
348
355
"return the reduction of that value modulo ``ULLONG_MAX + 1``."
349
356
msgstr ""
350
357
351
- #: ../../c-api/long.rst:291
358
+ #: ../../c-api/long.rst:295
352
359
msgid ""
353
360
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` "
354
361
"to disambiguate."
355
362
msgstr ""
356
363
"エラーが起きたときに ``(unsigned long long)-1`` を返します。\n"
357
364
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
358
365
359
- #: ../../c-api/long.rst:303
366
+ #: ../../c-api/long.rst:307
360
367
msgid ""
361
368
"Return a C :c:expr:`double` representation of *pylong*. *pylong* must be an "
362
369
"instance of :c:type:`PyLongObject`."
363
370
msgstr ""
364
371
365
- #: ../../c-api/long.rst:306
372
+ #: ../../c-api/long.rst:310
366
373
msgid ""
367
374
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
368
375
"expr:`double`."
369
376
msgstr ""
370
377
371
- #: ../../c-api/long.rst:309
378
+ #: ../../c-api/long.rst:313
372
379
msgid ""
373
380
"Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
374
381
msgstr ""
375
382
"エラーが起きたときに ``-1.0`` を返します。\n"
376
383
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
377
384
378
- #: ../../c-api/long.rst:314
385
+ #: ../../c-api/long.rst:318
379
386
msgid ""
380
387
"Convert a Python integer *pylong* to a C :c:expr:`void` pointer. If *pylong* "
381
388
"cannot be converted, an :exc:`OverflowError` will be raised. This is only "
382
389
"assured to produce a usable :c:expr:`void` pointer for values created with :"
383
390
"c:func:`PyLong_FromVoidPtr`."
384
391
msgstr ""
385
392
386
- #: ../../c-api/long.rst:319
393
+ #: ../../c-api/long.rst:323
387
394
msgid ""
388
395
"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
389
396
msgstr ""
0 commit comments