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