属性参照 (「属性参照」を参照) または割り当てが失敗したときに発生します。 (オブジェクトが属性参照または属性割り当てをまったくサポートしていない場合、TypeError が発生します。)
オプションの name および obj キーワードのみの引数は、対応する属性を設定します。
Google Translate · 自動翻訳です。専門用語や適用条件は英語の原文で確認してください。
公式の説明 · 原文
Raised when an attribute reference (see Attribute references) or assignment fails. (When an object does not support attribute references or attribute assignments at all, TypeError is raised.)
The optional name and obj keyword-only arguments set the corresponding attributes:
変更内容: English prose extracted; whitespace normalized; Korean context and classified official links added. Python code examples not redistributed. 翻訳された説明には、自動翻訳であることを表示しています。