ローカル名またはグローバル名が見つからない場合に発生します。これは、非修飾名にのみ適用されます。関連付けられた値は、見つからなかった名前を含むエラー メッセージです。
オプションの name キーワードのみの引数は、属性を設定します。
Google Translate · 自動翻訳です。専門用語や適用条件は英語の原文で確認してください。
公式の説明 · 原文
Raised when a local or global name is not found. This applies only to unqualified names. The associated value is an error message that includes the name that could not be found.
The optional name keyword-only argument sets the attribute:
変更内容: English prose extracted; whitespace normalized; Korean context and classified official links added. Python code examples not redistributed. 翻訳された説明には、自動翻訳であることを表示しています。