Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 14 for expr (0.018 sec.)
32.2. ast --- 抽象構文木 — Python 3.6.5 ドキュメント 12901
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ぞれ一つのクラスがあります (たとえば ast.stmt や ast.expr )。それに加えて、右辺のコンストラクタ一つずつにそれ ... クラスを継承しています。たとえば、 ast.BinOp は ast.expr から継承しています。代替を伴った生成規則 (producti ... スタンスは left という属性を持っており、その型は ast.expr です。 これらの属性が、文法上 (クエスチョンマークを ... な値でなければなりません。 lineno ¶ col_offset ¶ ast.expr や ast.stmt のサブクラスのインスタンスにはさらに l ...
https://man.plustar.jp/python/library/ast.html - [similar]
10. 完全な文法仕様 — Python 3.6.5 ドキュメント 12428
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ';' small_stmt ) * [ ';' ] NEWLINE small_stmt : ( expr_stmt | del_stmt | pass_stmt | flow_stmt | import_s ... tmt | global_stmt | nonlocal_stmt | assert_stmt ) expr_stmt : testlist_star_expr ( annassign | augassign ... ( yield_expr | testlist ) | ( '=' ( yield_expr | testlist_star_ ... ) annassign : ':' test [ '=' test ] testlist_star_expr : ( test | star_expr ) ( ',' ( test | star_expr )) ...
https://man.plustar.jp/python/reference/grammar.html - [similar]
6. 式 (expression) — Python 3.6.5 ドキュメント 10503
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ンス » 6. 式 (expression) ¶ この章では、Python の式における個々の要素 ... t_display | dict_display | set_display | generator_expression | yield_atom 6.2.1. 識別子 (identifier、また ... 括弧で囲ったものです: parenth_form ::= "(" [ starred_expression ] ")" 丸括弧で囲われた式のリストは、個々の式 ... 記の共通の構文要素はこの通りです: comprehension ::= expression comp_for comp_for ::= [ASYNC] "for" target_l ...
https://man.plustar.jp/python/reference/expressions.html - [similar]
32.1. parser --- Python 解析木にアクセスする — Python 3.6.5 ドキュメント 8472
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... オブジェクトの中に格納される解析木は、下で説明する expr() または suite() 関数によって作られるときに内部パー ... 形式を作成するために別々の関数が使われます。 parser. expr ( source ) ¶ まるで compile(source, 'file.py', 'ev ... al') への入力であるかのように、 expr() 関数はパラメータ source を構文解析します。解析が ... 数が提供されています。これらの関数のどちらも、 ST が expr() または suite() を通してソースコードから作られたか ...
https://man.plustar.jp/python/library/parser.html - [similar]
26.4. unittest --- ユニットテストフレームワーク — Python 3.6.5 ドキュメント 8069
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 。両者が等しい場合、テストは失敗です。 assertTrue ( expr , msg=None ) ¶ assertFalse ( expr , msg=None ) ¶ e ... ) であることをテストします。 このメソッドは、 bool(expr) is True と等価であり、 expr is True と等価ではない ... ことに注意が必要です (後者のためには、 assertIs(expr, True) が用意されています)。また、専用のメソッドが ... テストします。 バージョン 3.1 で追加. assertIsNone ( expr , msg=None ) ¶ assertIsNotNone ( expr , msg=None ) ...
https://man.plustar.jp/python/library/unittest.html - [similar]
7. 単純文 (simple statement) — Python 3.6.5 ドキュメント 7947
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ます。単純文の構文は以下の通りです: simple_stmt ::= expression_stmt | assert_stmt | assignment_stmt | augme ... port_stmt | global_stmt | nonlocal_stmt 7.1. 式文 (expression statement) ¶ 式文は、(主に対話的な使い方では ... 、有用なこともあります。式文の構文は以下の通りです: expression_stmt ::= starred_expression 式文は式のリスト ... assignment_stmt ::= ( target_list "=")+ ( starred_expression | yield_expression ) target_list ::= target ...
https://man.plustar.jp/python/reference/simple_stmts.html - [similar]
8. 複合文 (compound statement) — Python 3.6.5 ドキュメント 7824
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... 条件分岐を実行するために使われます: if_stmt ::= "if" expression ":" suite ( "elif" expression ":" suite )* [ ... 行を繰り返すために使われます: while_stmt ::= "while" expression ":" suite ["else" ":" suite ] while 文は式を ... めに使われます: for_stmt ::= "for" target_list "in" expression_list ":" suite ["else" ":" suite ] 式リストは ... れはイテラブルオブジェクトを与えなければなりません。 expression_list の結果に対するイテレータが生成されます。 ...
https://man.plustar.jp/python/reference/compound_stmts.html - [similar]
2. 字句解析 — Python 3.6.5 ドキュメント 7807
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... | replacement_field )* replacement_field ::= "{" f_expression ["!" conversion ] [":" format_spec ] "}" f_e ... xpression ::= ( conditional_expression | "*" or_expr ) ("," conditional_expression ... | "," "*" or_expr )* [","] | yield_expression conversion ::= "s" | " ...
https://man.plustar.jp/python/reference/lexical_analysis.html - [similar]
What's New In Python 3.0 — Python 3.6.5 ドキュメント 7807
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ehaves mostly like the old long type. PEP 238 : An expression like 1/2 returns a float. Use 1//2 to get th ... PEP 3134 : 新たな raise 文のシンタックス: raise [ expr [from expr ]] 。以下を参照してください。 as と wit ...
https://man.plustar.jp/python/whatsnew/3.0.html - [similar]
27.1. bdb --- デバッガーフレームワーク — Python 3.6.5 ドキュメント 7772
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 、 locals はデフォルトでは globals です。 runeval ( expr , globals=None , locals=None ) ¶ eval() 関数を利用 ...
https://man.plustar.jp/python/library/bdb.html - [similar]
PREV 1 2 NEXT