Skip to content

Commit 8b35f42

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent c78eab9 commit 8b35f42

File tree

2 files changed

+898
-920
lines changed

2 files changed

+898
-920
lines changed

library/collections.abc.po

+59-34
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.13\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2024-08-31 10:59+0000\n"
19+
"POT-Creation-Date: 2024-09-13 14:16+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:56+0000\n"
2121
"Last-Translator: Takanori Suzuki <[email protected]>, 2024\n"
2222
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -561,11 +561,17 @@ msgstr ":meth:`~object.__len__` メソッドを提供するクラスの ABC で
561561
msgid "ABC for classes that provide the :meth:`~object.__call__` method."
562562
msgstr ":meth:`~object.__call__` メソッドを提供するクラスの ABC です。"
563563

564-
#: ../../library/collections.abc.rst:221
564+
#: ../../library/collections.abc.rst:219
565+
msgid ""
566+
"See :ref:`annotating-callables` for details on how to use :class:`!Callable` "
567+
"in type annotations."
568+
msgstr ""
569+
570+
#: ../../library/collections.abc.rst:224
565571
msgid "ABC for classes that provide the :meth:`~container.__iter__` method."
566572
msgstr ":meth:`~container.__iter__` メソッドを提供するクラスの ABC です。"
567573

568-
#: ../../library/collections.abc.rst:223
574+
#: ../../library/collections.abc.rst:226
569575
msgid ""
570576
"Checking ``isinstance(obj, Iterable)`` detects classes that are registered "
571577
"as :class:`Iterable` or that have an :meth:`~container.__iter__` method, but "
@@ -579,26 +585,26 @@ msgstr ""
579585
"せん。オブジェクトがイテラブル (:term:`iterable`) かどうかを確認する唯一の信"
580586
"頼できる方法は ``iter(obj)`` を呼び出すことです。"
581587

582-
#: ../../library/collections.abc.rst:232
588+
#: ../../library/collections.abc.rst:235
583589
msgid "ABC for sized iterable container classes."
584590
msgstr "サイズ付きのイテラブルなコンテナクラスの ABC です。"
585591

586-
#: ../../library/collections.abc.rst:238
592+
#: ../../library/collections.abc.rst:241
587593
msgid ""
588594
"ABC for classes that provide the :meth:`~iterator.__iter__` and :meth:"
589595
"`~iterator.__next__` methods. See also the definition of :term:`iterator`."
590596
msgstr ""
591597
":meth:`~iterator.__iter__` メソッドと :meth:`~iterator.__next__` メソッドを提"
592598
"供するクラスの ABC です。 :term:`iterator` の定義も参照してください。"
593599

594-
#: ../../library/collections.abc.rst:244
600+
#: ../../library/collections.abc.rst:247
595601
msgid ""
596602
"ABC for iterable classes that also provide the :meth:`~object.__reversed__` "
597603
"method."
598604
msgstr ""
599605
":meth:`~object.__reversed__` メソッドを提供するイテラブルクラスの ABC です。"
600606

601-
#: ../../library/collections.abc.rst:251
607+
#: ../../library/collections.abc.rst:254
602608
msgid ""
603609
"ABC for :term:`generator` classes that implement the protocol defined in :"
604610
"pep:`342` that extends :term:`iterators <iterator>` with the :meth:"
@@ -610,13 +616,19 @@ msgstr ""
610616
"するプロトコルを実装する、:term:`ジェネレータ <generator>` クラスの ABC で"
611617
"す。"
612618

613-
#: ../../library/collections.abc.rst:262
619+
#: ../../library/collections.abc.rst:259
620+
msgid ""
621+
"See :ref:`annotating-generators-and-coroutines` for details on using :class:"
622+
"`!Generator` in type annotations."
623+
msgstr ""
624+
625+
#: ../../library/collections.abc.rst:268
614626
msgid "ABCs for read-only and mutable :term:`sequences <sequence>`."
615627
msgstr ""
616628
"読み出し専用の :term:`シーケンス <sequence>` およびミュータブルな :term:`シー"
617629
"ケンス <sequence>` の ABC です。"
618630

619-
#: ../../library/collections.abc.rst:264
631+
#: ../../library/collections.abc.rst:270
620632
msgid ""
621633
"Implementation note: Some of the mixin methods, such as :meth:`~container."
622634
"__iter__`, :meth:`~object.__reversed__` and :meth:`index`, make repeated "
@@ -634,11 +646,11 @@ msgstr ""
634646
"の場合など) の場合、mixin は 2 乗のパフォーマンスとなるため、多くの場合上書き"
635647
"する必要があるでしょう。"
636648

637-
#: ../../library/collections.abc.rst:273
649+
#: ../../library/collections.abc.rst:279
638650
msgid "The index() method added support for *stop* and *start* arguments."
639651
msgstr "index() メソッドは *stop* と *start* 引数をサポートしました。"
640652

641-
#: ../../library/collections.abc.rst:277
653+
#: ../../library/collections.abc.rst:283
642654
msgid ""
643655
"The :class:`ByteString` ABC has been deprecated. For use in typing, prefer a "
644656
"union, like ``bytes | bytearray``, or :class:`collections.abc.Buffer`. For "
@@ -649,23 +661,23 @@ msgstr ""
649661
"てください。ABCとしての場合は :class:`Sequence` または :class:`collections."
650662
"abc.Buffer` を使用してください。"
651663

652-
#: ../../library/collections.abc.rst:286
664+
#: ../../library/collections.abc.rst:292
653665
msgid "ABCs for read-only and mutable :ref:`sets <types-set>`."
654666
msgstr "読み出し専用でミュータブルな :ref:`集合 <types-set>` の ABC です。"
655667

656-
#: ../../library/collections.abc.rst:291
668+
#: ../../library/collections.abc.rst:297
657669
msgid "ABCs for read-only and mutable :term:`mappings <mapping>`."
658670
msgstr ""
659671
"読み出し専用の :term:`マッピング <mapping>` およびミュータブルな :term:`マッ"
660672
"ピング <mapping>` の ABC です。"
661673

662-
#: ../../library/collections.abc.rst:298
674+
#: ../../library/collections.abc.rst:304
663675
msgid ""
664676
"ABCs for mapping, items, keys, and values :term:`views <dictionary view>`."
665677
msgstr ""
666678
"マッピング、要素、キー、値の :term:`ビュー <dictionary view>` の ABC です。"
667679

668-
#: ../../library/collections.abc.rst:302
680+
#: ../../library/collections.abc.rst:308
669681
msgid ""
670682
"ABC for :term:`awaitable` objects, which can be used in :keyword:`await` "
671683
"expressions. Custom implementations must provide the :meth:`~object."
@@ -674,15 +686,15 @@ msgstr ""
674686
":keyword:`await` で使用できる :term:`awaitable` オブジェクトの ABC です。カス"
675687
"タムの実装は、:meth:`~object.__await__` メソッドを提供しなければなりません。"
676688

677-
#: ../../library/collections.abc.rst:306
689+
#: ../../library/collections.abc.rst:312
678690
msgid ""
679691
":term:`Coroutine <coroutine>` objects and instances of the :class:"
680692
"`~collections.abc.Coroutine` ABC are all instances of this ABC."
681693
msgstr ""
682694
":class:`~collections.abc.Coroutine` ABC の :term:`Coroutine <coroutine>` オブ"
683695
"ジェクトとインスタンスは、すべてこの ABC のインスタンスです。"
684696

685-
#: ../../library/collections.abc.rst:310
697+
#: ../../library/collections.abc.rst:316
686698
msgid ""
687699
"In CPython, generator-based coroutines (:term:`generators <generator>` "
688700
"decorated with :func:`@types.coroutine <types.coroutine>`) are *awaitables*, "
@@ -697,7 +709,7 @@ msgstr ""
697709
"ンに対して ``False`` を返します。そのようなコルーチンを検出するためには :"
698710
"func:`inspect.isawaitable` を使ってください。"
699711

700-
#: ../../library/collections.abc.rst:320
712+
#: ../../library/collections.abc.rst:326
701713
msgid ""
702714
"ABC for :term:`coroutine` compatible classes. These implement the following "
703715
"methods, defined in :ref:`coroutine-objects`: :meth:`~coroutine.send`, :meth:"
@@ -712,7 +724,7 @@ msgstr ""
712724
"`Coroutine` のすべてのインスタンスは、 :class:`Awaitable` のインスタンスでも"
713725
"あります。"
714726

715-
#: ../../library/collections.abc.rst:328
727+
#: ../../library/collections.abc.rst:334
716728
msgid ""
717729
"In CPython, generator-based coroutines (:term:`generators <generator>` "
718730
"decorated with :func:`@types.coroutine <types.coroutine>`) are *awaitables*, "
@@ -727,58 +739,71 @@ msgstr ""
727739
"ンに対して ``False`` を返します。そのようなコルーチンを検出するためには :"
728740
"func:`inspect.isawaitable` を使ってください。"
729741

730-
#: ../../library/collections.abc.rst:338
742+
#: ../../library/collections.abc.rst:340
743+
msgid ""
744+
"See :ref:`annotating-generators-and-coroutines` for details on using :class:"
745+
"`!Coroutine` in type annotations. The variance and order of type parameters "
746+
"correspond to those of :class:`Generator`."
747+
msgstr ""
748+
749+
#: ../../library/collections.abc.rst:349
731750
msgid ""
732751
"ABC for classes that provide an ``__aiter__`` method. See also the "
733752
"definition of :term:`asynchronous iterable`."
734753
msgstr ""
735754
"``__aiter__`` メソッドを提供するクラスの ABC です。:term:`asynchronous "
736755
"iterable` の定義も参照してください。"
737756

738-
#: ../../library/collections.abc.rst:345
757+
#: ../../library/collections.abc.rst:356
739758
msgid ""
740759
"ABC for classes that provide ``__aiter__`` and ``__anext__`` methods. See "
741760
"also the definition of :term:`asynchronous iterator`."
742761
msgstr ""
743762
"``__aiter__`` および ``__anext__`` メソッドを提供するクラスの ABC です。:"
744763
"term:`asynchronous iterator` の定義も参照してください。"
745764

746-
#: ../../library/collections.abc.rst:352
765+
#: ../../library/collections.abc.rst:363
747766
msgid ""
748767
"ABC for :term:`asynchronous generator` classes that implement the protocol "
749768
"defined in :pep:`525` and :pep:`492`."
750769
msgstr ""
751770
":pep:`525` と :pep:`492` に定義されているプロトコルを実装した :term:`非同期"
752771
"ジェネレータ <asynchronous generator>` クラスの ABC です。"
753772

754-
#: ../../library/collections.abc.rst:359
773+
#: ../../library/collections.abc.rst:366
774+
msgid ""
775+
"See :ref:`annotating-generators-and-coroutines` for details on using :class:"
776+
"`!AsyncGenerator` in type annotations."
777+
msgstr ""
778+
779+
#: ../../library/collections.abc.rst:373
755780
msgid ""
756781
"ABC for classes that provide the :meth:`~object.__buffer__` method, "
757782
"implementing the :ref:`buffer protocol <bufferobjects>`. See :pep:`688`."
758783
msgstr ""
759784
":ref:`buffer protocol <bufferobjects>` を実装する :meth:`~object.__buffer__` "
760785
"メソッドを提供するクラスのABCです。:pep:`688` を参照してください。"
761786

762-
#: ../../library/collections.abc.rst:365
787+
#: ../../library/collections.abc.rst:379
763788
msgid "Examples and Recipes"
764789
msgstr "例とレシピ"
765790

766-
#: ../../library/collections.abc.rst:367
791+
#: ../../library/collections.abc.rst:381
767792
msgid ""
768793
"ABCs allow us to ask classes or instances if they provide particular "
769794
"functionality, for example::"
770795
msgstr ""
771796
"抽象基底クラスは、クラスやインスタンスが特定の機能を提供しているかどうかを調"
772797
"べることを可能にします。例えば::"
773798

774-
#: ../../library/collections.abc.rst:370
799+
#: ../../library/collections.abc.rst:384
775800
msgid ""
776801
"size = None\n"
777802
"if isinstance(myvar, collections.abc.Sized):\n"
778803
" size = len(myvar)"
779804
msgstr ""
780805

781-
#: ../../library/collections.abc.rst:374
806+
#: ../../library/collections.abc.rst:388
782807
msgid ""
783808
"Several of the ABCs are also useful as mixins that make it easier to develop "
784809
"classes supporting container APIs. For example, to write a class supporting "
@@ -793,7 +818,7 @@ msgstr ""
793818
"__iter__`, :meth:`~object.__len__` だけが必要です。ABC が残りの :meth:`!"
794819
"__and__` や :meth:`~frozenset.isdisjoint` といったメソッドを提供します::"
795820

796-
#: ../../library/collections.abc.rst:381
821+
#: ../../library/collections.abc.rst:395
797822
msgid ""
798823
"class ListBasedSet(collections.abc.Set):\n"
799824
" ''' Alternate set implementation favoring space over speed\n"
@@ -819,12 +844,12 @@ msgid ""
819844
"automatically"
820845
msgstr ""
821846

822-
#: ../../library/collections.abc.rst:403
847+
#: ../../library/collections.abc.rst:417
823848
msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:"
824849
msgstr ""
825850
":class:`Set` と :class:`MutableSet` を mixin 型として利用するときの注意点:"
826851

827-
#: ../../library/collections.abc.rst:406
852+
#: ../../library/collections.abc.rst:420
828853
msgid ""
829854
"Since some set operations create new sets, the default mixin methods need a "
830855
"way to create new instances from an :term:`iterable`. The class constructor "
@@ -845,7 +870,7 @@ msgstr ""
845870
"iterable 引数から新しいインスタンスを生成できるクラスメソッドあるいは仕様に"
846871
"沿ったメソッドで :meth:`!_from_iterable` をオーバーライドする必要があります。"
847872

848-
#: ../../library/collections.abc.rst:417
873+
#: ../../library/collections.abc.rst:431
849874
msgid ""
850875
"To override the comparisons (presumably for speed, as the semantics are "
851876
"fixed), redefine :meth:`~object.__le__` and :meth:`~object.__ge__`, then the "
@@ -855,7 +880,7 @@ msgstr ""
855880
"meth:`~object.__le__` と :meth:`~object.__ge__` だけを再定義すれば、その他の"
856881
"演算は自動的に追随します。"
857882

858-
#: ../../library/collections.abc.rst:423
883+
#: ../../library/collections.abc.rst:437
859884
msgid ""
860885
"The :class:`Set` mixin provides a :meth:`!_hash` method to compute a hash "
861886
"value for the set; however, :meth:`~object.__hash__` is not defined because "
@@ -869,15 +894,15 @@ msgstr ""
869894
"set を作る場合は、 :class:`Set` と :meth:`Hashable` の両方を継承して、 "
870895
"``__hash__ = Set._hash`` と定義してください。"
871896

872-
#: ../../library/collections.abc.rst:431
897+
#: ../../library/collections.abc.rst:445
873898
msgid ""
874899
"`OrderedSet recipe <https://code.activestate.com/recipes/576694/>`_ for an "
875900
"example built on :class:`MutableSet`."
876901
msgstr ""
877902
":class:`MutableSet` を使った例として `OrderedSet recipe <https://code."
878903
"activestate.com/recipes/576694/>`_。"
879904

880-
#: ../../library/collections.abc.rst:434
905+
#: ../../library/collections.abc.rst:448
881906
msgid "For more about ABCs, see the :mod:`abc` module and :pep:`3119`."
882907
msgstr ""
883908
"ABCs についての詳細は、 :mod:`abc` モジュールと :pep:`3119` を参照してくださ"

0 commit comments

Comments
 (0)