Results of 1 - 10 of about 15 for stmt (0.027 sec.)
- 10. 完全な文法仕様 — Python 3.14.8 ドキュメント 12051
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた
...' expression NEWLINE * ENDMARKER # GENERAL STATEMENTS # ================== statements : statement + statement : | compound_stmt | simple_stmts single_compound_stmt : | compound_stmt statement_newline : | single_compound_stmt NEWLINE | simple_stmts |...NEWLINE | ENDMARKER simple_stmts : | simple_stmt !';' NEWLINE # Not needed, there for speedup | ';' . simple_stmt + [ ';' ] NEWLINE # NOTE: assignment MUS...T precede expression, else parsing a simple assignment # will throw a SyntaxError. simple_stmt : | assignment | type_alias | star_expressions | return_stmt | import_stmt | raise_stmt | pass_stmt | del_stmt | yield_stm... - https://man.mtool.work/python/3.14/reference/grammar.html
- 10. 完全な文法仕様 — Python 3.14.8 ドキュメント 12051
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた
...' expression NEWLINE * ENDMARKER # GENERAL STATEMENTS # ================== statements : statement + statement : | compound_stmt | simple_stmts single_compound_stmt : | compound_stmt statement_newline : | single_compound_stmt NEWLINE | simple_stmts |...NEWLINE | ENDMARKER simple_stmts : | simple_stmt !';' NEWLINE # Not needed, there for speedup | ';' . simple_stmt + [ ';' ] NEWLINE # NOTE: assignment MUS...T precede expression, else parsing a simple assignment # will throw a SyntaxError. simple_stmt : | assignment | type_alias | star_expressions | return_stmt | import_stmt | raise_stmt | pass_stmt | del_stmt | yield_stm... - https://man.mtool.work/python/3.14/reference/grammar.html
- 7. 単純文 (simple statement) — Python 3.14.8 ドキュメント 10188
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 7. 単純文 (simple statement) テーマ 自動 ライト ダーク | 7. 単純文 (simple statement) ¶ 単純文とは、単一の論理行内に収められる文です。単
...一の行内には、複数の単純文をセミコロンで区切って入れることができます。単純文の構文は以下の通りです: simple_stmt : expression_stmt | assert_stmt | assignment_stmt | augmented_assignment_stmt | annotated_assignment_stmt | pass_stmt | de...l_stmt | return_stmt | yield_stmt | raise_stmt | break_stmt | continue_stmt | import_stmt | future_stmt | global_stmt | nonlocal_...stmt | type_stmt 7.1. 式文 (expression statement) ¶ 式文は、(主に対話的な使い方では) 値を計算して出力するために使ったり、(通常は) プロシジャ... - https://man.mtool.work/python/3.14/reference/simple_stmts.html
- 7. 単純文 (simple statement) — Python 3.14.8 ドキュメント 10188
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 7. 単純文 (simple statement) テーマ 自動 ライト ダーク | 7. 単純文 (simple statement) ¶ 単純文とは、単一の論理行内に収められる文です。単
...一の行内には、複数の単純文をセミコロンで区切って入れることができます。単純文の構文は以下の通りです: simple_stmt : expression_stmt | assert_stmt | assignment_stmt | augmented_assignment_stmt | annotated_assignment_stmt | pass_stmt | de...l_stmt | return_stmt | yield_stmt | raise_stmt | break_stmt | continue_stmt | import_stmt | future_stmt | global_stmt | nonlocal_...stmt | type_stmt 7.1. 式文 (expression statement) ¶ 式文は、(主に対話的な使い方では) 値を計算して出力するために使ったり、(通常は) プロシジャ... - https://man.mtool.work/python/3.14/reference/simple_stmts.html
- 8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 9282
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります;
...行されないかのどちらかです: if x < y < z : print ( x ); print ( y ); print ( z ) まとめると、以下のようになります: compound_stmt : if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | match_stmt | funcdef | classdef | async_with_stmt | async_for_s...tmt | async_funcdef suite : stmt_list NEWLINE | NEWLINE INDENT statement + DEDENT statement : stmt_list NEWLINE | compound_stmt stmt_list : simple_stmt ( "...;" simple_stmt )* [ ";" ] なお、文は常に NEWLINE か、その後に DEDENT が続いたもので終了します。また、オプションの継続節は必ず、文を開始で... - https://man.mtool.work/python/3.14/reference/compound_stmts.html
- 8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 9282
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります;
...行されないかのどちらかです: if x < y < z : print ( x ); print ( y ); print ( z ) まとめると、以下のようになります: compound_stmt : if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | match_stmt | funcdef | classdef | async_with_stmt | async_for_s...tmt | async_funcdef suite : stmt_list NEWLINE | NEWLINE INDENT statement + DEDENT statement : stmt_list NEWLINE | compound_stmt stmt_list : simple_stmt ( "...;" simple_stmt )* [ ";" ] なお、文は常に NEWLINE か、その後に DEDENT が続いたもので終了します。また、オプションの継続節は必ず、文を開始で... - https://man.mtool.work/python/3.14/reference/compound_stmts.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 8464
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...のように定義されています: -- ASDL's 4 builtin types are: -- identifier, int, string, constant module Python { mod = Module ( stmt * body , type_ignore * type_ignores ) | Interactive ( stmt * body ) | Expression ( expr body ) | FunctionType ( expr * arg...types , expr returns ) stmt = FunctionDef ( identifier name , arguments args , stmt * body , expr * decorator_list , expr ? returns , string ? type_co...mment , type_param * type_params ) | AsyncFunctionDef ( identifier name , arguments args , stmt * body , expr * decorator_list , expr ? returns , string ? type_comment , type_param * type_params ) | ClassDef ( identifi... - https://man.mtool.work/python/3.14/library/ast.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 8464
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...のように定義されています: -- ASDL's 4 builtin types are: -- identifier, int, string, constant module Python { mod = Module ( stmt * body , type_ignore * type_ignores ) | Interactive ( stmt * body ) | Expression ( expr body ) | FunctionType ( expr * arg...types , expr returns ) stmt = FunctionDef ( identifier name , arguments args , stmt * body , expr * decorator_list , expr ? returns , string ? type_co...mment , type_param * type_params ) | AsyncFunctionDef ( identifier name , arguments args , stmt * body , expr * decorator_list , expr ? returns , string ? type_comment , type_param * type_params ) | ClassDef ( identifi... - https://man.mtool.work/python/3.14/library/ast.html
- timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 8063
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ
...例を説明しています。 Python Interface ¶ このモジュールは 3 つの有用な関数と 1 つの公開クラスを持っています: timeit. timeit ( stmt='pass' , setup='pass' , timer=<default timer> , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer...引数はコードを実行する名前空間を指定します。 バージョン 3.5 で変更: 任意の globals 引数が追加されました。 timeit. repeat ( stmt='pass' , setup='pass' , timer=<default timer> , repeat=5 , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードお...のナノ秒を返します。 バージョン 3.3 で変更: デフォルトのタイマーが time.perf_counter() になりました。 class timeit. Timer ( stmt='pass' , setup='pass' , timer=<timer function> , globals=None ) ¶ 小さなコード片の実行時間を計測するためのクラスです。 コン... - https://man.mtool.work/python/3.14/library/timeit.html
- timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 8063
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ
...例を説明しています。 Python Interface ¶ このモジュールは 3 つの有用な関数と 1 つの公開クラスを持っています: timeit. timeit ( stmt='pass' , setup='pass' , timer=<default timer> , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer...引数はコードを実行する名前空間を指定します。 バージョン 3.5 で変更: 任意の globals 引数が追加されました。 timeit. repeat ( stmt='pass' , setup='pass' , timer=<default timer> , repeat=5 , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードお...のナノ秒を返します。 バージョン 3.3 で変更: デフォルトのタイマーが time.perf_counter() になりました。 class timeit. Timer ( stmt='pass' , setup='pass' , timer=<timer function> , globals=None ) ¶ 小さなコード片の実行時間を計測するためのクラスです。 コン... - https://man.mtool.work/python/3.14/library/timeit.html