Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 13 for ast (0.008 sec.)
- 32.2. ast --- 抽象構文木 — Python 3.6.5 ドキュメント 14815
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...リ » 32. Python言語サービス » 32.2. ast --- 抽象構文木 ¶ ソースコード: Lib/ast.py ast モジ...知る助けになるでしょう。 抽象構文木を作成するには、 ast.PyCF_ONLY_AST を組み込み関数 compile() のフラグとし...ているヘルパー関数 parse() を使います。その結果は、 ast.AST を継承したクラスのオブジェクトのツリーとなりま...イルすることができます。 32.2.1. Node クラス ¶ class ast. AST ¶ このクラスは全ての AST ノード・クラスの基底... - https://man.plustar.jp/python/library/ast.html - [similar]
- What's New in Python 2.5 — Python 3.6.5 ドキュメント 8938
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...>> print it . next () Traceback (most recent call last): File "t.py" , line 15 , in ? print it . next ()...Prints 'short', because lexicographically 'short' has the largest value print max ( L ) (Contributed by S...f Python's dictionary type. In 2.5 the internal data structure has been customized for implementing sets,...ets will use a third less memory and are somewhat faster. (Implemented by Raymond Hettinger.) The speed o... - https://man.plustar.jp/python/whatsnew/2.5.html - [similar]
- 2. 組み込み関数 — Python 3.6.5 ドキュメント 8586
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ize=-1 ) ¶ source をコードオブジェクト、もしくは、 AST オブジェクトにコンパイルします。 コードオブジェクト...で評価できます。 source は通常の文字列、 バイト列、 AST オブジェクトのいずれでもかまいません。 AST オブジェ...クトへの、また、 AST オブジェクトからのコンパイルの方法は、 ast モジュー...Error を送出します。 Python コードをパースしてその AST 表現を得たいのであれば、 ast.parse() を参照してくだ... - https://man.plustar.jp/python/library/functions.html - [similar]
- 32. Python言語サービス — Python 3.6.5 ドキュメント 8481
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...クト 32.1.6. 例: compile() のエミュレーション 32.2. ast --- 抽象構文木 32.2.1. Node クラス 32.2.2. 抽象文法...(Abstract Grammar) 32.2.3. ast ヘルパー 32.3. symtable --- コンパイラの記号表への... - https://man.plustar.jp/python/library/language.html - [similar]
- What's New in Python 2.6 — Python 3.6.5 ドキュメント 8375
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...e the named keyword arguments >>> "User ID: {uid} Last seen: {last_login} " . format ( ... uid = "root" ,...... last_login = "5 Mar 2008 07:20" ) 'User ID: root Last s...... >>> c = Circle () Traceback (most recent call last): File "<stdin>" , line 1 , in <module> TypeError...nch cut) も修正されています。(--- 訳注: units of least precision に対する枯れた訳語はないようなので最小精... - https://man.plustar.jp/python/whatsnew/2.6.html - [similar]
- 32.3. symtable --- コンパイラの記号表へのアクセス — Python 3.6.5 ドキュメント 8340
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...b/symtable.py 記号表(symbol table)は、コンパイラが AST からバイトコードを生成する直前に作られます。記号表...号表の生成 32.3.2. 記号表の検査 前のトピックへ 32.2. ast --- 抽象構文木 次のトピックへ 32.4. symbol --- Pyt... - https://man.plustar.jp/python/library/symtable.html - [similar]
- 10. 完全な文法仕様 — Python 3.6.5 ドキュメント 8287
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ
...le.c makes sure that the default except clause is last except_clause : 'except' [ test [ 'as' NAME ]] sui...NAME is that using NAME # results in an ambiguity. ast.c makes sure it's a NAME. # "test '=' test" is rea...Illegal combinations and orderings are blocked in ast.c: # multiple (test comp_for) arguments are blocke... - https://man.plustar.jp/python/reference/grammar.html - [similar]
- 32.1. parser --- Python 解析木にアクセスする — Python 3.6.5 ドキュメント 8234
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...その上、高速です。 注釈 Python 2.5 以降、抽象構文木 (AST) の生成・コンパイルの段階に割り込むには ast モジュ...ピックへ 32. Python言語サービス 次のトピックへ 32.2. ast --- 抽象構文木 ナビゲーション 索引 モジュール | 次... - https://man.plustar.jp/python/library/parser.html - [similar]
- What's New In Python 3.6 — Python 3.6.5 ドキュメント 8234
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...int representing a file descriptor does not count as that is not a file path). Unfortunately that assump...low-level representation of a file system path as a str or bytes object. This means an object is conside...red path-like if it implements os.PathLike or is a str or bytes object which represents a file system p...os.fsdecode() , or os.fsencode() to explicitly get a str and/or bytes representation of a path-like objec... - https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
- What's New In Python 3.2 — Python 3.6.5 ドキュメント 8181
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...> hasattr ( a , 'f' ) Traceback (most recent call last): ... ZeroDivisionError : integer division or modu...t : def __eq__ ( self , other ): return (( self . lastname . lower (), self . firstname . lower ()) == (...other . lastname . lower (), other . firstname . lower ())) def...__lt__ ( self , other ): return (( self . lastname . lower (), self . firstname . lower ()) < ( o... - https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
