@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version :Python 3.8\n "
13
13
"Report-Msgid-Bugs-To :\n "
14
- "POT-Creation-Date :2020-08-20 14:53 +0000\n "
14
+ "POT-Creation-Date :2020-08-22 14:54 +0000\n "
15
15
"PO-Revision-Date :2020-05-30 11:58+0000\n "
16
16
"Last-Translator :tomo, 2020\n "
17
17
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -331,19 +331,27 @@ msgstr "``asend``, ``athrow``"
331
331
msgid "``aclose``, ``__aiter__``, ``__anext__``"
332
332
msgstr "``aclose``, ``__aiter__``, ``__anext__``"
333
333
334
- #: ../../library/collections.abc.rst:105
335
- msgid ""
336
- "ABCs for classes that provide respectively the methods :meth:`__contains__`,"
337
- " :meth:`__hash__`, :meth:`__len__`, and :meth:`__call__`."
334
+ #: ../../library/collections.abc.rst:102
335
+ msgid "ABC for classes that provide the :meth:`__contains__` method."
336
+ msgstr ""
337
+
338
+ #: ../../library/collections.abc.rst:106
339
+ msgid "ABC for classes that provide the :meth:`__hash__` method."
338
340
msgstr ""
339
- "それぞれメソッド :meth:`__contains__`, :meth:`__hash__`, :meth:`__len__`, "
340
- ":meth:`__call__` を提供するクラスの ABC です。"
341
341
342
342
#: ../../library/collections.abc.rst:110
343
+ msgid "ABC for classes that provide the :meth:`__len__` method."
344
+ msgstr ""
345
+
346
+ #: ../../library/collections.abc.rst:114
347
+ msgid "ABC for classes that provide the :meth:`__call__` method."
348
+ msgstr ""
349
+
350
+ #: ../../library/collections.abc.rst:118
343
351
msgid "ABC for classes that provide the :meth:`__iter__` method."
344
352
msgstr ":meth:`__iter__` メソッドを提供するクラスの ABC です。"
345
353
346
- #: ../../library/collections.abc.rst:112
354
+ #: ../../library/collections.abc.rst:120
347
355
msgid ""
348
356
"Checking ``isinstance(obj, Iterable)`` detects classes that are registered "
349
357
"as :class:`Iterable` or that have an :meth:`__iter__` method, but it does "
@@ -354,11 +362,11 @@ msgstr ""
354
362
"メソッド ``isinstance(obj, Iterable)`` で使用すると、 :class:`Iterable` や :meth:`__iter__` メソッドを持っているクラスを検出できます。しかし、:meth:`__getitem__` メソッドで反復するクラスは検出しません。\n"
355
363
"オブジェクトが :term:`iterable` であるかどうかを判別するにあたって、信頼できる唯一の方法は ``iter(obj)`` を呼び出す方法です。"
356
364
357
- #: ../../library/collections.abc.rst:120
365
+ #: ../../library/collections.abc.rst:128
358
366
msgid "ABC for sized iterable container classes."
359
367
msgstr "サイズ付きのイテラブルなコンテナクラスの ABC です。"
360
368
361
- #: ../../library/collections.abc.rst:126
369
+ #: ../../library/collections.abc.rst:134
362
370
msgid ""
363
371
"ABC for classes that provide the :meth:`~iterator.__iter__` and "
364
372
":meth:`~iterator.__next__` methods. See also the definition of "
@@ -367,12 +375,12 @@ msgstr ""
367
375
":meth:`~iterator.__iter__` メソッドと :meth:`~iterator.__next__` メソッドを提供するクラスの "
368
376
"ABC です。 :term:`iterator` の定義も参照してください。"
369
377
370
- #: ../../library/collections.abc.rst:132
378
+ #: ../../library/collections.abc.rst:140
371
379
msgid ""
372
380
"ABC for iterable classes that also provide the :meth:`__reversed__` method."
373
381
msgstr ":meth:`__reversed__` メソッドを提供するイテラブルクラスの ABC です。"
374
382
375
- #: ../../library/collections.abc.rst:139
383
+ #: ../../library/collections.abc.rst:147
376
384
msgid ""
377
385
"ABC for generator classes that implement the protocol defined in :pep:`342` "
378
386
"that extends iterators with the :meth:`~generator.send`, "
@@ -383,13 +391,13 @@ msgstr ""
383
391
":meth:`~generator.close` の各メソッドに拡張するプロトコルを実装する、ジェネレータクラスの ABC "
384
392
"です。:term:`generator` の定義も参照してください。"
385
393
386
- #: ../../library/collections.abc.rst:150
394
+ #: ../../library/collections.abc.rst:158
387
395
msgid "ABCs for read-only and mutable :term:`sequences <sequence>`."
388
396
msgstr ""
389
397
"読み出し専用の :term:`シーケンス <sequence>` およびミュータブルな :term:`シーケンス <sequence>` の ABC "
390
398
"です。"
391
399
392
- #: ../../library/collections.abc.rst:152
400
+ #: ../../library/collections.abc.rst:160
393
401
msgid ""
394
402
"Implementation note: Some of the mixin methods, such as :meth:`__iter__`, "
395
403
":meth:`__reversed__` and :meth:`index`, make repeated calls to the "
@@ -404,25 +412,25 @@ msgstr ""
404
412
"が定数のアクセス速度で実装されている場合、mixin メソッドは線形のパフォーマンスとなります。下層のメソッドが線形 (リンクされたリストの場合など) "
405
413
"の場合、mixin は 2 乗のパフォーマンスとなるため、多くの場合上書きする必要があるでしょう。"
406
414
407
- #: ../../library/collections.abc.rst:161
415
+ #: ../../library/collections.abc.rst:169
408
416
msgid "The index() method added support for *stop* and *start* arguments."
409
417
msgstr "index() メソッドは *stop* と *start* 引数をサポートしました。"
410
418
411
- #: ../../library/collections.abc.rst:168
419
+ #: ../../library/collections.abc.rst:176
412
420
msgid "ABCs for read-only and mutable sets."
413
421
msgstr "読み出し専用の集合およびミュータブルな集合の ABC です。"
414
422
415
- #: ../../library/collections.abc.rst:173
423
+ #: ../../library/collections.abc.rst:181
416
424
msgid "ABCs for read-only and mutable :term:`mappings <mapping>`."
417
425
msgstr ""
418
426
"読み出し専用の :term:`マッピング <mapping>` およびミュータブルな :term:`マッピング <mapping>` の ABC です。"
419
427
420
- #: ../../library/collections.abc.rst:180
428
+ #: ../../library/collections.abc.rst:188
421
429
msgid ""
422
430
"ABCs for mapping, items, keys, and values :term:`views <dictionary view>`."
423
431
msgstr "マッピング、要素、キー、値の :term:`ビュー <dictionary view>` の ABC です。"
424
432
425
- #: ../../library/collections.abc.rst:184
433
+ #: ../../library/collections.abc.rst:192
426
434
msgid ""
427
435
"ABC for :term:`awaitable` objects, which can be used in :keyword:`await` "
428
436
"expressions. Custom implementations must provide the :meth:`__await__` "
@@ -431,13 +439,13 @@ msgstr ""
431
439
":keyword:`await` で使用できる :term:`awaitable` オブジェクトの ABC "
432
440
"です。カスタムの実装は、:meth:`__await__` メソッドを提供しなければなりません。"
433
441
434
- #: ../../library/collections.abc.rst:188
442
+ #: ../../library/collections.abc.rst:196
435
443
msgid ""
436
444
":term:`Coroutine <coroutine>` objects and instances of the "
437
445
":class:`~collections.abc.Coroutine` ABC are all instances of this ABC."
438
446
msgstr ""
439
447
440
- #: ../../library/collections.abc.rst:192
448
+ #: ../../library/collections.abc.rst:200
441
449
msgid ""
442
450
"In CPython, generator-based coroutines (generators decorated with "
443
451
":func:`types.coroutine` or :func:`asyncio.coroutine`) are *awaitables*, even"
@@ -451,7 +459,7 @@ msgstr ""
451
459
"Awaitable)`` を使用すると、 ``False`` が返されます。これらを検出するには、 "
452
460
":func:`inspect.isawaitable` を使用します。"
453
461
454
- #: ../../library/collections.abc.rst:202
462
+ #: ../../library/collections.abc.rst:210
455
463
msgid ""
456
464
"ABC for coroutine compatible classes. These implement the following "
457
465
"methods, defined in :ref:`coroutine-objects`: :meth:`~coroutine.send`, "
@@ -466,7 +474,7 @@ msgstr ""
466
474
"のすべてのインスタンスは、 :class:`Awaitable` のインスタンスでもあります。:term:`coroutine` "
467
475
"の定義も参照してください。"
468
476
469
- #: ../../library/collections.abc.rst:210
477
+ #: ../../library/collections.abc.rst:218
470
478
msgid ""
471
479
"In CPython, generator-based coroutines (generators decorated with "
472
480
":func:`types.coroutine` or :func:`asyncio.coroutine`) are *awaitables*, even"
@@ -480,35 +488,35 @@ msgstr ""
480
488
"Coroutine)`` を使用すると、 ``False`` が返されます。これらを検出するには、 "
481
489
":func:`inspect.isawaitable` を使用します。"
482
490
483
- #: ../../library/collections.abc.rst:220
491
+ #: ../../library/collections.abc.rst:228
484
492
msgid ""
485
493
"ABC for classes that provide ``__aiter__`` method. See also the definition "
486
494
"of :term:`asynchronous iterable`."
487
495
msgstr ""
488
496
"``__aiter__`` メソッドを提供するクラスの ABC です。:term:`asynchronous iterable` "
489
497
"の定義も参照してください。"
490
498
491
- #: ../../library/collections.abc.rst:227
499
+ #: ../../library/collections.abc.rst:235
492
500
msgid ""
493
501
"ABC for classes that provide ``__aiter__`` and ``__anext__`` methods. See "
494
502
"also the definition of :term:`asynchronous iterator`."
495
503
msgstr ""
496
504
"``__aiter__`` および ``__anext__`` メソッドを提供するクラスの ABC です。:term:`asynchronous "
497
505
"iterator` の定義も参照してください。"
498
506
499
- #: ../../library/collections.abc.rst:234
507
+ #: ../../library/collections.abc.rst:242
500
508
msgid ""
501
509
"ABC for asynchronous generator classes that implement the protocol defined "
502
510
"in :pep:`525` and :pep:`492`."
503
511
msgstr ":pep:`525` と :pep:`492` に定義されているプロトコルを実装した非同期ジェネレータクラスの ABC です。"
504
512
505
- #: ../../library/collections.abc.rst:240
513
+ #: ../../library/collections.abc.rst:248
506
514
msgid ""
507
515
"These ABCs allow us to ask classes or instances if they provide particular "
508
516
"functionality, for example::"
509
517
msgstr "これらの ABC はクラスやインスタンスが特定の機能を提供しているかどうかを調べるのに使えます。例えば::"
510
518
511
- #: ../../library/collections.abc.rst:247
519
+ #: ../../library/collections.abc.rst:255
512
520
msgid ""
513
521
"Several of the ABCs are also useful as mixins that make it easier to develop"
514
522
" classes supporting container APIs. For example, to write a class "
@@ -522,11 +530,11 @@ msgstr ""
522
530
":meth:`__len__` だけが必要です。ABC が残りの :meth:`__and__` や :meth:`isdisjoint` "
523
531
"といったメソッドを提供します::"
524
532
525
- #: ../../library/collections.abc.rst:276
533
+ #: ../../library/collections.abc.rst:284
526
534
msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:"
527
535
msgstr ":class:`Set` と :class:`MutableSet` を mixin 型として利用するときの注意点:"
528
536
529
- #: ../../library/collections.abc.rst:279
537
+ #: ../../library/collections.abc.rst:287
530
538
msgid ""
531
539
"Since some set operations create new sets, the default mixin methods need a "
532
540
"way to create new instances from an iterable. The class constructor is "
@@ -543,7 +551,7 @@ msgstr ""
543
551
"を呼び出して新しい set を作る部分でこの仮定が使われています。コンストラクタのシグネチャが異なるクラスで :class:`Set` を使う場合は、 "
544
552
"iterable 引数から新しいインスタンスを生成するように :meth:`_from_iterable` をオーバーライドする必要があります。"
545
553
546
- #: ../../library/collections.abc.rst:290
554
+ #: ../../library/collections.abc.rst:298
547
555
msgid ""
548
556
"To override the comparisons (presumably for speed, as the semantics are "
549
557
"fixed), redefine :meth:`__le__` and :meth:`__ge__`, then the other "
@@ -552,7 +560,7 @@ msgstr ""
552
560
"(たぶん意味はそのままに速度を向上する目的で)比較をオーバーライドする場合、 :meth:`__le__` と :meth:`__ge__` "
553
561
"だけを再定義すれば、その他の演算は自動的に追随します。"
554
562
555
- #: ../../library/collections.abc.rst:295
563
+ #: ../../library/collections.abc.rst:303
556
564
msgid ""
557
565
"The :class:`Set` mixin provides a :meth:`_hash` method to compute a hash "
558
566
"value for the set; however, :meth:`__hash__` is not defined because not all "
@@ -565,14 +573,14 @@ msgstr ""
565
573
"set を作る場合は、 :class:`Set` と :class:`Hashable` の両方を継承して、 ``__hash__ = "
566
574
"Set._hash`` と定義してください。"
567
575
568
- #: ../../library/collections.abc.rst:303
576
+ #: ../../library/collections.abc.rst:311
569
577
msgid ""
570
578
"`OrderedSet recipe <https://code.activestate.com/recipes/576694/>`_ for an "
571
579
"example built on :class:`MutableSet`."
572
580
msgstr ""
573
581
":class:`MutableSet` を使った例として `OrderedSet recipe "
574
582
"<https://code.activestate.com/recipes/576694/>`_。"
575
583
576
- #: ../../library/collections.abc.rst:306
584
+ #: ../../library/collections.abc.rst:314
577
585
msgid "For more about ABCs, see the :mod:`abc` module and :pep:`3119`."
578
586
msgstr "ABCs についての詳細は、 :mod:`abc` モジュールと :pep:`3119` を参照してください。"