@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.15\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2026-10-29 19:20 +0000\n "
16+ "POT-Creation-Date : 2026-11-11 20:58 +0000\n "
1717"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1818"Last-Translator : Inada Naoki <songofacandy@gmail.com>, 2026\n "
1919"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -70,31 +70,19 @@ msgstr ""
7070msgid "abstract base class"
7171msgstr "abstract base class"
7272
73- #: ../../glossary.rst:29
7473msgid ""
7574"Abstract base classes complement :term:`duck-typing` by providing a way to "
7675"define interfaces when other techniques like :func:`hasattr` would be clumsy "
7776"or subtly wrong (for example with :ref:`magic methods <special-lookup>`). "
78- "ABCs introduce virtual subclasses, which are classes that don't inherit from "
79- "a class but are still recognized by :func:`isinstance` "
80- "and :func:`issubclass`; see the :mod:`abc` module documentation. Python "
81- "comes with many built-in ABCs for data structures (in "
77+ "ABCs introduce :term:` virtual subclasses <virtual subclass>` , which are "
78+ "classes that don't inherit from a class but are still recognized "
79+ "by :func:`isinstance` and :func:`issubclass`; see the :mod:`abc` module "
80+ "documentation. Python comes with many built-in ABCs for data structures (in "
8281"the :mod:`collections.abc` module), numbers (in the :mod:`numbers` module), "
8382"streams (in the :mod:`io` module), import finders and loaders (in "
8483"the :mod:`importlib.abc` module). You can create your own ABCs with "
8584"the :mod:`abc` module."
8685msgstr ""
87- "(抽象基底クラス) 抽象基底クラスは :term:`duck-typing` を補完するもの"
88- "で、 :func:`hasattr` などの別のテクニックでは不恰好であったり微妙に誤る (例え"
89- "ば :ref:`magic methods <special-lookup>` の場合) 場合にインターフェースを定義"
90- "する方法を提供します。ABC は仮想 (virtual) サブクラスを導入します。これは親ク"
91- "ラスから継承しませんが、それでも :func:`isinstance` や :func:`issubclass` に"
92- "認識されます; :mod:`abc` モジュールのドキュメントを参照してください。Python "
93- "には、多くの組み込み ABC が同梱されています。その対象は、"
94- "(:mod:`collections.abc` モジュールで) データ構造、(:mod:`numbers` モジュール"
95- "で) 数、(:mod:`io` モジュールで) ストリーム、(:mod:`importlib.abc` モジュール"
96- "で) インポートファインダ及びローダーです。 :mod:`abc` モジュールを利用して独"
97- "自の ABC を作成できます。"
9886
9987msgid "annotate function"
10088msgstr "annotate function"
@@ -4089,6 +4077,16 @@ msgstr ""
40894077"シンは、バイトコードコンパイラが出力した :term:`バイトコード <bytecode>` を実"
40904078"行します。"
40914079
4080+ msgid "virtual subclass"
4081+ msgstr ""
4082+
4083+ msgid ""
4084+ "A class that :func:`issubclass` and :func:`isinstance` treat as a subclass "
4085+ "of an :term:`abstract base class` even though it does not inherit from it. "
4086+ "A class is made a virtual subclass by registering it with the "
4087+ "ABC's :meth:`~abc.ABCMeta.register` method."
4088+ msgstr ""
4089+
40924090msgid "walrus operator"
40934091msgstr "walrus operator"
40944092
0 commit comments