File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -2184,6 +2184,10 @@ msgid ""
2184
2184
"registered class even if hasn't directly or indirectly inherited from it. "
2185
2185
"To test for \" true inheritance\" , scan the :term:`MRO` of the class:"
2186
2186
msgstr ""
2187
+ "注意: :func:`isinstance` は :term:`abstract base class` (抽象基底クラス)から"
2188
+ "の仮想継承もチェックします。そのため、登録 (register) されたクラスが直接/間接"
2189
+ "的にそれを継承していなくても ``True`` を返します。「真のインスタンス」をテス"
2190
+ "トする場合は、クラスの :term:`MRO` を調べます:"
2187
2191
2188
2192
#: ../../faq/programming.rst:1546
2189
2193
msgid ""
@@ -2293,6 +2297,9 @@ msgid ""
2293
2297
"resolution order` (MRO) with ``type(self).__mro__``, and return the next in "
2294
2298
"line after ``Derived`` in the MRO: ``Base``."
2295
2299
msgstr ""
2300
+ "この例では、 :func:`super` は呼ばれたインスタンス (``self`` の値) を自動判断"
2301
+ "し、 ``type(self).__mro__`` で :term:`method resolution order` (MRO メソッド"
2302
+ "解決順) を検索し、そしてMRO内で ``Derived`` の次行を返します: ``Base`` 。"
2296
2303
2297
2304
#: ../../faq/programming.rst:1637
2298
2305
msgid "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 ""
14
14
msgstr ""
15
15
"Project-Id-Version : Python 3.12\n "
16
16
"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 "
18
18
"PO-Revision-Date : 2021-06-28 01:19+0000\n "
19
19
"Last-Translator : tomo, 2023\n "
20
20
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
You can’t perform that action at this time.
0 commit comments