File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2184,6 +2184,10 @@ msgid ""
21842184"registered class even if hasn't directly or indirectly inherited from it. "
21852185"To test for \" true inheritance\" , scan the :term:`MRO` of the class:"
21862186msgstr ""
2187+ "注意: :func:`isinstance` は :term:`abstract base class` (抽象基底クラス)から"
2188+ "の仮想継承もチェックします。そのため、登録 (register) されたクラスが直接/間接"
2189+ "的にそれを継承していなくても ``True`` を返します。「真のインスタンス」をテス"
2190+ "トする場合は、クラスの :term:`MRO` を調べます:"
21872191
21882192#: ../../faq/programming.rst:1546
21892193msgid ""
@@ -2293,6 +2297,9 @@ msgid ""
22932297"resolution order` (MRO) with ``type(self).__mro__``, and return the next in "
22942298"line after ``Derived`` in the MRO: ``Base``."
22952299msgstr ""
2300+ "この例では、 :func:`super` は呼ばれたインスタンス (``self`` の値) を自動判断"
2301+ "し、 ``type(self).__mro__`` で :term:`method resolution order` (MRO メソッド"
2302+ "解決順) を検索し、そしてMRO内で ``Derived`` の次行を返します: ``Base`` 。"
22962303
22972304#: ../../faq/programming.rst:1637
22982305msgid "How can I organize my code to make it easier to change the base class?"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version : Python 3.12\n "
1616"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2023-09-29 14:12 +0000\n "
17+ "POT-Creation-Date : 2023-10-20 14:13 +0000\n "
1818"PO-Revision-Date : 2021-06-28 01:19+0000\n "
1919"Last-Translator : tomo, 2023\n "
2020"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
You can’t perform that action at this time.
0 commit comments