@@ -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-03-03 14:14+0000\n "
14
+ "POT-Creation-Date : 2023-03-24 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/ "
@@ -262,7 +262,20 @@ msgstr ""
262
262
"`PyObject_RichCompareBool` は :const:`Py_EQ` に対して常に ``1`` を返し、 :"
263
263
"const:`Py_NE` に対して常に ``0`` を返します。"
264
264
265
- #: ../../c-api/object.rst:186
265
+ #: ../../c-api/object.rst:184
266
+ msgid ""
267
+ "Format *obj* using *format_spec*. This is equivalent to the Python "
268
+ "expression ``format(obj, format_spec)``."
269
+ msgstr ""
270
+
271
+ #: ../../c-api/object.rst:187
272
+ msgid ""
273
+ "*format_spec* may be ``NULL``. In this case the call is equivalent to "
274
+ "``format(obj)``. Returns the formatted string on success, ``NULL`` on "
275
+ "failure."
276
+ msgstr ""
277
+
278
+ #: ../../c-api/object.rst:195
266
279
msgid ""
267
280
"Compute a string representation of object *o*. Returns the string "
268
281
"representation on success, ``NULL`` on failure. This is the equivalent of "
@@ -273,15 +286,15 @@ msgstr ""
273
286
"ると ``NULL`` を返します。 Python 式 ``repr(o)`` と同じです。この関数は組み込"
274
287
"み関数 :func:`repr` の処理で呼び出されます。"
275
288
276
- #: ../../c-api/object.rst:190 ../../c-api/object.rst:214
289
+ #: ../../c-api/object.rst:199 ../../c-api/object.rst:223
277
290
msgid ""
278
291
"This function now includes a debug assertion to help ensure that it does not "
279
292
"silently discard an active exception."
280
293
msgstr ""
281
294
"アクティブな例外を黙って捨てないことを保証するのに便利なように、この関数はデ"
282
295
"バッグアサーションを含むようになりました。"
283
296
284
- #: ../../c-api/object.rst:198
297
+ #: ../../c-api/object.rst:207
285
298
msgid ""
286
299
"As :c:func:`PyObject_Repr`, compute a string representation of object *o*, "
287
300
"but escape the non-ASCII characters in the string returned by :c:func:"
@@ -295,7 +308,7 @@ msgstr ""
295
308
"は Pythoh 2 の :c:func:`PyObject_Repr` が返す文字列と同じ文字列を生成しま"
296
309
"す。 :func:`ascii` によって呼び出されます。"
297
310
298
- #: ../../c-api/object.rst:209
311
+ #: ../../c-api/object.rst:218
299
312
msgid ""
300
313
"Compute a string representation of object *o*. Returns the string "
301
314
"representation on success, ``NULL`` on failure. This is the equivalent of "
@@ -306,7 +319,7 @@ msgstr ""
306
319
"ると ``NULL`` を返します。 Python 式 ``str(o)`` と同じです。この関数は組み込"
307
320
"み関数 :func:`str` や、 :func:`print` 関数の処理で呼び出されます。"
308
321
309
- #: ../../c-api/object.rst:223
322
+ #: ../../c-api/object.rst:232
310
323
msgid ""
311
324
"Compute a bytes representation of object *o*. ``NULL`` is returned on "
312
325
"failure and a bytes object on success. This is equivalent to the Python "
@@ -319,7 +332,7 @@ msgstr ""
319
332
"``bytes(o)`` と同じです。 ``bytes(o)`` と違って、 *o* が整数のときには、ゼロ"
320
333
"で初期化された bytes オブジェクトを返すのではなく TypeError が送出されます。"
321
334
322
- #: ../../c-api/object.rst:232
335
+ #: ../../c-api/object.rst:241
323
336
msgid ""
324
337
"Return ``1`` if the class *derived* is identical to or derived from the "
325
338
"class *cls*, otherwise return ``0``. In case of an error, return ``-1``."
@@ -328,7 +341,7 @@ msgstr ""
328
341
"場合は ``1`` を返し、そうでない場合は ``0`` を返します。\n"
329
342
"エラーが起きた場合は ``-1`` を返します。"
330
343
331
- #: ../../c-api/object.rst:235 ../../c-api/object.rst:254
344
+ #: ../../c-api/object.rst:244 ../../c-api/object.rst:263
332
345
msgid ""
333
346
"If *cls* is a tuple, the check will be done against every entry in *cls*. "
334
347
"The result will be ``1`` when at least one of the checks returns ``1``, "
@@ -338,7 +351,7 @@ msgstr ""
338
351
"少なくとも1つのチェックで ``1`` が返ったとき、結果は ``1`` となり、それ以外の"
339
352
"とき ``0`` になります。"
340
353
341
- #: ../../c-api/object.rst:239
354
+ #: ../../c-api/object.rst:248
342
355
msgid ""
343
356
"If *cls* has a :meth:`~class.__subclasscheck__` method, it will be called to "
344
357
"determine the subclass status as described in :pep:`3119`. Otherwise, "
@@ -350,7 +363,7 @@ msgstr ""
350
363
"そうでないとき *derived* が *cls* の子クラスになるのは、直接的あるいは間接的"
351
364
"な子クラスである場合、つまり ``cls.__mro__`` に含まれる場合です。"
352
365
353
- #: ../../c-api/object.rst:244
366
+ #: ../../c-api/object.rst:253
354
367
msgid ""
355
368
"Normally only class objects, i.e. instances of :class:`type` or a derived "
356
369
"class, are considered classes. However, objects can override this by having "
@@ -361,7 +374,7 @@ msgstr ""
361
374
"しかし、オブジェクトに属性 :attr:`__bases__` (これは基底クラスのタプルでなけ"
362
375
"ればならない) を持たせることで上書きできます。"
363
376
364
- #: ../../c-api/object.rst:251
377
+ #: ../../c-api/object.rst:260
365
378
msgid ""
366
379
"Return ``1`` if *inst* is an instance of the class *cls* or a subclass of "
367
380
"*cls*, or ``0`` if not. On error, returns ``-1`` and sets an exception."
@@ -370,7 +383,7 @@ msgstr ""
370
383
"``1`` を返し、そうでない場合に ``0`` を返します。\n"
371
384
"エラーが起きると ``-1`` を返し例外を設定します。"
372
385
373
- #: ../../c-api/object.rst:258
386
+ #: ../../c-api/object.rst:267
374
387
msgid ""
375
388
"If *cls* has a :meth:`~class.__instancecheck__` method, it will be called to "
376
389
"determine the subclass status as described in :pep:`3119`. Otherwise, "
@@ -381,15 +394,15 @@ msgstr ""
381
394
"そうでないとき *inst* が *cls* のインスタンスになるのは、そのクラスが *cls* "
382
395
"の子クラスである場合です。"
383
396
384
- #: ../../c-api/object.rst:262
397
+ #: ../../c-api/object.rst:271
385
398
msgid ""
386
399
"An instance *inst* can override what is considered its class by having a :"
387
400
"attr:`__class__` attribute."
388
401
msgstr ""
389
402
"インスタンス *inst* に属性 :attr:`__class__` を持たせることで、そのクラスと見"
390
403
"なされるものを上書きできます。"
391
404
392
- #: ../../c-api/object.rst:265
405
+ #: ../../c-api/object.rst:274
393
406
msgid ""
394
407
"An object *cls* can override if it is considered a class, and what its base "
395
408
"classes are, by having a :attr:`__bases__` attribute (which must be a tuple "
@@ -399,29 +412,29 @@ msgstr ""
399
412
"`__bases__` (これは基底クラスのタプルでなければならない) を持たせることで上書"
400
413
"きできます。"
401
414
402
- #: ../../c-api/object.rst:274
415
+ #: ../../c-api/object.rst:283
403
416
msgid ""
404
417
"Compute and return the hash value of an object *o*. On failure, return "
405
418
"``-1``. This is the equivalent of the Python expression ``hash(o)``."
406
419
msgstr ""
407
420
"オブジェクト *o* のハッシュ値を計算して返します。失敗すると ``-1`` を返しま"
408
421
"す。 Python の式 ``hash(o)`` と同じです。"
409
422
410
- #: ../../c-api/object.rst:277
423
+ #: ../../c-api/object.rst:286
411
424
msgid ""
412
425
"The return type is now Py_hash_t. This is a signed integer the same size "
413
426
"as :c:type:`Py_ssize_t`."
414
427
msgstr ""
415
428
416
- #: ../../c-api/object.rst:284
429
+ #: ../../c-api/object.rst:293
417
430
msgid ""
418
431
"Set a :exc:`TypeError` indicating that ``type(o)`` is not :term:`hashable` "
419
432
"and return ``-1``. This function receives special treatment when stored in a "
420
433
"``tp_hash`` slot, allowing a type to explicitly indicate to the interpreter "
421
434
"that it is not hashable."
422
435
msgstr ""
423
436
424
- #: ../../c-api/object.rst:292
437
+ #: ../../c-api/object.rst:301
425
438
msgid ""
426
439
"Returns ``1`` if the object *o* is considered to be true, and ``0`` "
427
440
"otherwise. This is equivalent to the Python expression ``not not o``. On "
@@ -430,7 +443,7 @@ msgstr ""
430
443
"*o* が真を表すとみなせる場合には ``1`` を、そうでないときには ``0`` を返しま"
431
444
"す。 Python の式 ``not not o`` と同じです。失敗すると ``-1`` を返します。"
432
445
433
- #: ../../c-api/object.rst:299
446
+ #: ../../c-api/object.rst:308
434
447
msgid ""
435
448
"Returns ``0`` if the object *o* is considered to be true, and ``1`` "
436
449
"otherwise. This is equivalent to the Python expression ``not o``. On "
@@ -439,7 +452,7 @@ msgstr ""
439
452
"*o* が真を表すとみなせる場合には ``0`` を、そうでないときには ``1`` を返しま"
440
453
"す。 Python の式 ``not o`` と同じです。失敗すると ``-1`` を返します。"
441
454
442
- #: ../../c-api/object.rst:308
455
+ #: ../../c-api/object.rst:317
443
456
msgid ""
444
457
"When *o* is non-``NULL``, returns a type object corresponding to the object "
445
458
"type of object *o*. On failure, raises :exc:`SystemError` and returns "
@@ -450,13 +463,13 @@ msgid ""
450
463
"incremented reference count is needed."
451
464
msgstr ""
452
465
453
- #: ../../c-api/object.rst:319
466
+ #: ../../c-api/object.rst:328
454
467
msgid ""
455
468
"Return non-zero if the object *o* is of type *type* or a subtype of *type*, "
456
469
"and ``0`` otherwise. Both parameters must be non-``NULL``."
457
470
msgstr ""
458
471
459
- #: ../../c-api/object.rst:328
472
+ #: ../../c-api/object.rst:337
460
473
msgid ""
461
474
"Return the length of object *o*. If the object *o* provides either the "
462
475
"sequence and mapping protocols, the sequence length is returned. On error, "
@@ -467,7 +480,7 @@ msgstr ""
467
480
"型プロトコルの両方を提供している場合、シーケンスとしての長さを返します。エ"
468
481
"ラーが生じると ``-1`` を返します。 Python の式 ``len(o)`` と同じです。"
469
482
470
- #: ../../c-api/object.rst:335
483
+ #: ../../c-api/object.rst:344
471
484
msgid ""
472
485
"Return an estimated length for the object *o*. First try to return its "
473
486
"actual length, then an estimate using :meth:`~object.__length_hint__`, and "
@@ -476,15 +489,15 @@ msgid ""
476
489
"defaultvalue)``."
477
490
msgstr ""
478
491
479
- #: ../../c-api/object.rst:345
492
+ #: ../../c-api/object.rst:354
480
493
msgid ""
481
494
"Return element of *o* corresponding to the object *key* or ``NULL`` on "
482
495
"failure. This is the equivalent of the Python expression ``o[key]``."
483
496
msgstr ""
484
497
"オブジェクト *key* に対応する *o* の要素を返します。失敗すると ``NULL`` を返"
485
498
"します。Python の式 ``o[key]`` と同じです。"
486
499
487
- #: ../../c-api/object.rst:351
500
+ #: ../../c-api/object.rst:360
488
501
msgid ""
489
502
"Map the object *key* to the value *v*. Raise an exception and return ``-1`` "
490
503
"on failure; return ``0`` on success. This is the equivalent of the Python "
@@ -495,15 +508,15 @@ msgstr ""
495
508
"これは Python の文 ``o[key] = v`` と同等です。\n"
496
509
"この関数は *v* への参照を *盗み取りません* 。"
497
510
498
- #: ../../c-api/object.rst:359
511
+ #: ../../c-api/object.rst:368
499
512
msgid ""
500
513
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
501
514
"on failure. This is equivalent to the Python statement ``del o[key]``."
502
515
msgstr ""
503
516
"オブジェクト *o* から *key* に関する対応付けを削除します。失敗すると ``-1`` "
504
517
"を返します。Python の文 ``del o[key]`` と同じです。"
505
518
506
- #: ../../c-api/object.rst:365
519
+ #: ../../c-api/object.rst:374
507
520
msgid ""
508
521
"This is equivalent to the Python expression ``dir(o)``, returning a "
509
522
"(possibly empty) list of strings appropriate for the object argument, or "
@@ -518,7 +531,7 @@ msgstr ""
518
531
"様に、現在のローカルな名前を返します; この場合、アクティブな実行フレームがな"
519
532
"ければ ``NULL`` を返しますが、 :c:func:`PyErr_Occurred` は偽を返します。"
520
533
521
- #: ../../c-api/object.rst:374
534
+ #: ../../c-api/object.rst:383
522
535
msgid ""
523
536
"This is equivalent to the Python expression ``iter(o)``. It returns a new "
524
537
"iterator for the object argument, or the object itself if the object is "
@@ -530,7 +543,7 @@ msgstr ""
530
543
"す。オブジェクトが反復処理不可能であった場合には :exc:`TypeError` を送出して "
531
544
"``NULL`` を返します。"
532
545
533
- #: ../../c-api/object.rst:382
546
+ #: ../../c-api/object.rst:391
534
547
msgid ""
535
548
"This is the equivalent to the Python expression ``aiter(o)``. Takes an :"
536
549
"class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. "
0 commit comments