per page, with , order by , clip by
Results of 1 - 10 of about 13 for expressions (0.008 sec.)
10. 完全な文法仕様 14621
10. 完全な文法仕様 以下は Python の完全な文法で、CPython のパーサを生成するための文法から直接得たものです ( Grammar/python.gram を参照)。 ここでは、コード生成とエラー回復に関する詳細を省略しています。 ここで使う記法は、これまでのドキュメント ... nnot be parsed. # # STARTING RULES # ============== file : [ statements ] ENDMARKER interactive : statement_newline eval : expressions NEWLINE * ENDMARKER func_type : '(' [ type_expressions ] ')' '->' expression NEWLINE * ENDMARKER # GENERAL STATEMENTS # == ... de 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_stmt | assert_stmt | break_stmt | continue_stmt | ... ts '=' ) + annotated_rhs !'=' [ TYPE_COMMENT ] | single_target augassign ~ annotated_rhs annotated_rhs : yield_expr | star_expressions augassign : | '+=' | '-=' | '*=' | '@=' | '/=' | '%=' | '&=' | '|=' | '^=' | '<<=' | '>>=' | '**=' | '//=' return_stmt : | ...
https://man.mtool.work/python/3.14/reference/grammar.html
6. 式 (expression) 9976
6. 式 (expression) この章では、Python の式における個々の要素の意味について解説します。 構文上の注意: この章以降では、 文法の表記法 を字句解析ではなく構文の記述に使います。 構文規則の (選択肢の 1 つの) 形式が次のように記述され、 name : other ... ます。 拡張では独自の変換動作を定義する必要があります。 6.2. アトム、原子的要素 (atom) Atoms are the most basic elements of expressions. The simplest atoms are names or literals. Forms enclosed in parentheses, brackets or braces are also categorized syntacti ... the comma. The exception is the empty tuple, for which parentheses are required --- allowing unparenthesized "nothing" in expressions would cause ambiguities and allow common typos to pass uncaught. 6.2.5. Displays for lists, sets and dictionaries For cons ... async for clause following the leading expression, may contain additional for or async for clauses, and may also use await expressions. If a comprehension contains async for clauses, or if it contains await expressions or other asynchronous comprehensions a ...
https://man.mtool.work/python/3.14/reference/expressions.html
Python 言語リファレンス 8569
Python 言語リファレンス このリファレンスマニュアルは、Python 言語の構文と中核となる意味論を説明します。 簡潔な記述ですが、正確で網羅的であることを目指しています。 組み込みのオブジェクト型と関数については Python 組み込み機能リファレンス で説 ... の二項演算 (binary bitwise operation) 6.10. 比較 6.11. ブール演算 (boolean operation) 6.12. 代入式 6.13. 条件式 (Conditional Expressions) 6.14. ラムダ (lambda) 6.15. 式のリスト 6.16. 評価順序 6.17. 演算子の優先順位 7. 単純文 (simple statement) 7.1. 式文 (expr ...
https://man.mtool.work/python/3.14/reference/
What's New in Python 2.5 8393
What's New in Python 2.5 著者 : A.M. Kuchling この記事では Python 2.5 の新機能を説明します。 Python 2.5 の最終リリースは 2006 年 8 月に予定されており、 PEP 356 にリリース計画が記載されています。 Python 2.5 は 2006 年 9 月 19 日にリリースされ ... 度のものです。いくつかの心地よい機能が入りましたが、そのほとんどの機能は毎日使うというものでもありません。条件式(conditional expressions)がついに言語に追加されました。ちょっと変わった文法です。 PEP 308: 条件式 (Conditional Expressions) のセクションを参照してく ... 報告は歓迎です。著者に電子メールを送るか、または Python バグトラッカーにバグをあげてください。 PEP 308: 条件式 (Conditional Expressions) もう長いことずっと、人々は条件式を書くための手段を要望し続けてきました。それは Boolean 値が真か偽かによって値 A または B ... ください。条件式の周りをいつでも括弧で囲むなら、このケースにぶち当たることもありません。 参考 PEP 308 - 条件式 (Conditional Expressions) PEP 著 Guido van Rossum と Raymond D. Hettinger; 実装 Thomas Wouters. PEP 309: 関数の部分適用 functools モジュールは、関数 ...
https://man.mtool.work/python/3.14/whatsnew/2.5.html
正規表現 HOWTO 8199
正規表現 HOWTO Author : A.M. Kuchling < amk @ amk . ca > 概要 このドキュメントは re モジュールを使って Python で正規表現を扱うための導入のチュートリアルです。ライブラリレファレンスの正規表現の節よりもやさしい入門ドキュメントを用意しています ... 。 はじめに 正規表現 regular expressions (REs や regexes または regex patterns と呼ばれます) は本質的に小さく、Python 内部に埋め込まれた高度に特化したプログラミング ... たか? その場合は 課題追跡システム に改善案をお寄せください。 O'Reilly から出版されている Jeffrey Friedl の Mastering Regular Expressions は正規表現に関するほぼ完璧な書籍です (訳注 日本語訳「詳説 正規表現」が出版されています) 。不幸なことに、この本は Perl と J ...
https://man.mtool.work/python/3.14/howto/regex.html
What's New in Python 8199
What's New in Python この"What's New in Python"という一連の文書はPythonのメジャーバージョンにおける最も重要な変更点を紹介します。新しくリリースされた後でも最新の状態であり続けたい人にとって必読のものです。 What's new in Python 3.14 概要 -- ... ール 非推奨と削除 ビルドならびに C API の変更 Python 2.6 への移植 謝辞 What's New in Python 2.5 PEP 308: 条件式 (Conditional Expressions) PEP 309: 関数の部分適用 PEP 314: Metadata for Python Software Packages v1.1 PEP 328: 絶対インポート、相対インポート PEP 3 ...
https://man.mtool.work/python/3.14/whatsnew/
Python ドキュメントの目次 8111
Python ドキュメントの目次 What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新しい機能 PEP 649 と PEP 749 : アノテーションの遅延評価 PEP 734 : 複数インタープリタ機能が標準ライブラリに追加 PEP 750 : テンプレート文字列 ... ト特有の変更: Mac OS X ポート特有の変更: IRIX Python 2.6 への移植 謝辞 What's New in Python 2.5 PEP 308: 条件式 (Conditional Expressions) PEP 309: 関数の部分適用 PEP 314: Metadata for Python Software Packages v1.1 PEP 328: 絶対インポート、相対インポート PEP 3 ... の比較 6.10.2. 所属検査演算 6.10.3. 同一性の比較 6.11. ブール演算 (boolean operation) 6.12. 代入式 6.13. 条件式 (Conditional Expressions) 6.14. ラムダ (lambda) 6.15. 式のリスト 6.16. 評価順序 6.17. 演算子の優先順位 7. 単純文 (simple statement) 7.1. 式文 (expr ... string.templatelib --- テンプレート文字列リテラルのサポート テンプレート文字列 型 ヘルパー関数 re --- 正規表現操作 Regular Expression Syntax Special characters Special sequences Standard escapes Module Contents フラグ 関数 例外 Regular Expression Objects Ma ...
https://man.mtool.work/python/3.14/contents.html
7. Input and Output 8111
7. Input and Output プログラムの出力方法にはいくつかの種類があります。 データを人間が読める形で出力することもあれば、将来使うためにファイルに書くこともあります。 この章では、こうした幾つかの出力の方法について話します。 7.1. Fancier Output F ... ormatting これまでに、値を出力する二つの方法: 式文 (expression statement) と print() 関数が出てきました。 (第三はファイルオブジェクトの write() メソッドを使う方法です。標準出力を表すファ ... =} { count =} { area =} ' ) Debugging bugs='roaches' count=13 area='living room' = 指定子の詳細については self-documenting expressions を参照してください。 フォーマットについての仕様は 書式指定ミニ言語 のリファレンスガイドを参照してください。 7.1.2. The Str ...
https://man.mtool.work/python/3.14/tutorial/inputoutput.html
組み込み関数 8023
組み込み関数 Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できます。それらをここにアルファベット順に挙げます。 組み込み関数 A abs() aiter() all() anext() any() ascii() B bin() bool() breakpoint() bytearray() bytes( ... ' if it consists of a single expression, or 'single' if it consists of a single interactive statement (in the latter case, expression statements that evaluate to something other than None will be printed). It can also be 'func_type' if source consists of a ... g function (typically self ). Zero-argument super() will not work as expected within nested functions, including generator expressions, which implicitly create nested functions. super の典型的な用途は 2 つあります。第一に、単継承のクラス階層構造で super は名 ...
https://man.mtool.work/python/3.14/builtins/functions.html
関数型プログラミング HOWTO 8023
関数型プログラミング HOWTO Author : A. M. Kuchling Release : 0.32 この文書では、関数型スタイルでプログラムを実装するのにピッタリな Python の機能を見てまわることにしましょう。まず関数型プログラミングという概念を紹介したあと、 iterator や gen ... itertools モジュールの文書。 functools モジュールについてのドキュメント。 operator モジュールの文書。 PEP 289 : "Generator Expressions" PEP 342 : "Coroutines via Enhanced Generators" は、Python 2.5 の新しいジェネレータ機能を説明しています。 他のマニュアルの ...
https://man.mtool.work/python/3.14/howto/functional.html
PREV 1 2 NEXT