Results of 1 - 10 of about 55 for NameError (0.035 sec.)
- 8. エラーと例外 — Python 3.14.8 ドキュメント 12891
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 8. エラーと例外 テーマ 自動 ライト ダーク | 8. エラーと例外 ¶ これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中
...vision by zero >>> 4 + spam * 3 Traceback (most recent call last): File "<stdin>" , line 1 , in <module> 4 + spam * 3 ^^^^ NameError : name 'spam' is not defined >>> '2' + 2 Traceback (most recent call last): File "<stdin>" , line 1 , in <module> '2' + 2...います。例外は様々な型 (type) で起こり、その型がエラーメッセージの一部として出力されます。上の例での型は ZeroDivisionError , NameError , TypeError です。例外型として出力される文字列は、発生した例外の組み込み名です。これは全ての組み込み例外について成り立ちま...the same try statement. An except clause may name multiple exceptions, for example: ... except RuntimeError , TypeError , NameError : ... pass except 節 内のクラスは、そのクラスや派生クラスのインスタンスである例外とマッチします(その逆はありません --- 派... - https://man.mtool.work/python/3.14/tutorial/errors.html
- 8. エラーと例外 — Python 3.14.8 ドキュメント 12891
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 8. エラーと例外 テーマ 自動 ライト ダーク | 8. エラーと例外 ¶ これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中
...vision by zero >>> 4 + spam * 3 Traceback (most recent call last): File "<stdin>" , line 1 , in <module> 4 + spam * 3 ^^^^ NameError : name 'spam' is not defined >>> '2' + 2 Traceback (most recent call last): File "<stdin>" , line 1 , in <module> '2' + 2...います。例外は様々な型 (type) で起こり、その型がエラーメッセージの一部として出力されます。上の例での型は ZeroDivisionError , NameError , TypeError です。例外型として出力される文字列は、発生した例外の組み込み名です。これは全ての組み込み例外について成り立ちま...the same try statement. An except clause may name multiple exceptions, for example: ... except RuntimeError , TypeError , NameError : ... pass except 節 内のクラスは、そのクラスや派生クラスのインスタンスである例外とマッチします(その逆はありません --- 派... - https://man.mtool.work/python/3.14/tutorial/errors.html
- 索引 — Python 3.14.8 ドキュメント 11146
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – 例 例外 , [1] AssertionError AttributeError GeneratorExit , [1] ImportError NameError raising StopAsyncIteration StopIteration , [1] T
...扱う 例外を送出する 例外ハンドラ 関連キーワード 例外 ハンドラ Index AssertionError AttributeError GeneratorExit ImportError NameError raising StopAsyncIteration StopIteration TypeError ValueError ZeroDivisionError 連鎖 送出 « ナビゲーション 索引 モジュール... - https://man.mtool.work/python/3.14/genindex-例.html
- 索引 — Python 3.14.8 ドキュメント 11146
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – 例 例外 , [1] AssertionError AttributeError GeneratorExit , [1] ImportError NameError raising StopAsyncIteration StopIteration , [1] T
...例外を扱う 例外を送出する 例外ハンドラ 関連キーワード ハンドラ Index AssertionError AttributeError GeneratorExit ImportError NameError raising StopAsyncIteration StopIteration TypeError ValueError ZeroDivisionError 連鎖 送出 « ナビゲーション 索引 モジュール... - https://man.mtool.work/python/3.14/genindex-例.html
- 索引 — Python 3.14.8 ドキュメント 8958
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – N N (tkinter モジュール) N_TOKENS (token モジュール) n_waiting (asyncio.Barrier の属性) (threading.Barrier の属性) NAK (curses.ascii モ
...ogger の属性) (lzma.LZMAFile の属性) (multiprocessing.Process の属性) (multiprocessing.shared_memory.SharedMemory の属性) (NameError の属性) (os モジュール) (os.DirEntry の属性) (pathlib.PurePath の属性) (pyclbr.Class の属性) (pyclbr.Function の属性) (sys...om のクラス) NamedTemporaryFile() (tempfile モジュール) NamedTuple (typing のクラス) namedtuple() (collections モジュール) NameError 例外 NameError (組み込み例外) namelist() (zipfile.ZipFile のメソッド) nameprep() (encodings.idna モジュール) namer (loggin... - https://man.mtool.work/python/3.14/genindex-N.html
- 索引 — Python 3.14.8 ドキュメント 8958
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – N N (tkinter モジュール) N_TOKENS (token モジュール) n_waiting (asyncio.Barrier の属性) (threading.Barrier の属性) NAK (curses.ascii モ
...ogger の属性) (lzma.LZMAFile の属性) (multiprocessing.Process の属性) (multiprocessing.shared_memory.SharedMemory の属性) (NameError の属性) (os モジュール) (os.DirEntry の属性) (pathlib.PurePath の属性) (pyclbr.Class の属性) (pyclbr.Function の属性) (sys...om のクラス) NamedTemporaryFile() (tempfile モジュール) NamedTuple (typing のクラス) namedtuple() (collections モジュール) NameError 例外 NameError (組み込み例外) namelist() (zipfile.ZipFile のメソッド) nameprep() (encodings.idna モジュール) namer (loggin... - https://man.mtool.work/python/3.14/genindex-N.html
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 8086
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...t ( func . __annotations__ ) This will behave as follows: Under stock semantics (Python 3.13 and earlier), it will throw a NameError at the line where func is defined, because Cls is an undefined name at that point. Under stringified annotations (if from...reference, returning its value. If the format argument is VALUE (the default), this method may throw an exception, such as NameError , if the forward reference refers to a name that cannot be resolved. The arguments to this method can be used to provide b...= undefined >>> call_evaluate_function ( Alias . evaluate_value , Format . VALUE ) Traceback (most recent call last): ... NameError : name 'undefined' is not defined >>> call_evaluate_function ( Alias . evaluate_value , Format . FORWARDREF ) ForwardRef('... - https://man.mtool.work/python/3.14/library/annotationlib.html
- What's New In Python 3.12 — Python 3.14.8 ドキュメント 8086
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.12 テーマ 自動 ライト ダーク | What's New In Python 3.12 ¶ 編集者 : Adam Turner この記事では Python 3.11 と比較した
...1 , 文法の中の f-strings インタープリタの改善: PEP 684 , インタープリタごとのユニークな GIL PEP 669 , 低影響なモニタリング NameError , ImportError , SyntaxError 例外に対する 'Did you mean ...' サジェストを改善 しました Python のデータモデルの改善: PEP 688...from the standard library are now potentially suggested as part of the error messages displayed by the interpreter when a NameError is raised to the top level. (Contributed by Pablo Galindo in gh-98254 .) >>> sys . version_info Traceback (most recent cal...l last): File "<stdin>" , line 1 , in <module> NameError : name 'sys' is not defined. Did you forget to import 'sys'? Improve the error suggestion for NameError exceptions for ins... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- 変更履歴 — Python 3.14.8 ドキュメント 8086
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...h a broken font caused a ZeroDivisionError ; the editor now falls back to the configured width. gh-135511 : Fix display of NameError and AttributeError with multi-line message. Tools/Demos ¶ gh-158451 : python-gdb.py is now able to format an invalid Unico...ready existed. gh-135645 : Added supports_isolated_interpreters field to sys.implementation . gh-135646 : Raise consistent NameError exceptions in annotationlib.ForwardRef.evaluate() gh-135557 : Fix races on heapq updates and list reads on the free thread...ationlib.get_annotations() succeed with the FORWARDREF format if evaluating the annotations throws an exception other than NameError or AttributeError . gh-133351 : Fix remote PDB to correctly request tab completions for Python expressions from the server... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 8086
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...t ( func . __annotations__ ) This will behave as follows: Under stock semantics (Python 3.13 and earlier), it will throw a NameError at the line where func is defined, because Cls is an undefined name at that point. Under stringified annotations (if from...reference, returning its value. If the format argument is VALUE (the default), this method may throw an exception, such as NameError , if the forward reference refers to a name that cannot be resolved. The arguments to this method can be used to provide b...= undefined >>> call_evaluate_function ( Alias . evaluate_value , Format . VALUE ) Traceback (most recent call last): ... NameError : name 'undefined' is not defined >>> call_evaluate_function ( Alias . evaluate_value , Format . FORWARDREF ) ForwardRef('... - https://man.mtool.work/python/3.14/library/annotationlib.html