Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9675583

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent343c872 commit9675583

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎faq/programming.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2168,6 +2168,10 @@ msgid ""
21682168
"registered class even if hasn't directly or indirectly inherited from it. "
21692169
"To test for\"true inheritance\", scan the :term:`MRO` of the class:"
21702170
msgstr""
2171+
"注意: :func:`isinstance` は :term:`abstract base class` (抽象基底クラス)から"
2172+
"の仮想継承もチェックします。そのため、登録 (register) されたクラスが直接/間接"
2173+
"的にそれを継承していなくても ``True`` を返します。「真のインスタンス」をテス"
2174+
"トする場合は、クラスの :term:`MRO` を調べます:"
21712175

21722176
#:../../faq/programming.rst:1534
21732177
msgid""
@@ -2277,6 +2281,9 @@ msgid ""
22772281
"resolution order` (MRO) with ``type(self).__mro__``, and return the next in "
22782282
"line after ``Derived`` in the MRO: ``Base``."
22792283
msgstr""
2284+
"この例では、 :func:`super` は呼ばれたインスタンス (``self`` の値) を自動判断"
2285+
"し、 ``type(self).__mro__`` で :term:`method resolution order` (MRO メソッド"
2286+
"解決順) を検索し、そしてMRO内で ``Derived`` の次行を返します: ``Base`` 。"
22802287

22812288
#:../../faq/programming.rst:1625
22822289
msgid"How can I organize my code to make it easier to change the base class?"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp