Results of 1 - 10 of about 39 for nodes (0.032 sec.)
- graphlib --- グラフ構造を操作する機能 — Python 3.14.8 ドキュメント 13219
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » graphlib --- グラフ構造を操作する機能 テーマ 自動 ライト ダーク | graphlib --- グラフ構造を操作する機能 ¶ ソースコード:
...は、簡単に準備が整ったノードの並列処理を行えるよう設計されています。例えば: topological_sorter = TopologicalSorter () # Add nodes to 'topological_sorter'... topological_sorter . prepare () while topological_sorter . is_active (): for node in topologica...l_sorter . get_ready (): # Worker threads or processes take nodes to work on off the # 'task_queue' queue. task_queue . put ( node ) # When the work for a node is done, workers put the nod...e in # 'finalized_tasks_queue' so we can get more nodes to work on. # The definition of 'is_active()' guarantees that, at this point, at # least one node has been placed on 'task... - https://man.mtool.work/python/3.14/library/graphlib.html
- graphlib --- グラフ構造を操作する機能 — Python 3.14.8 ドキュメント 13219
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » graphlib --- グラフ構造を操作する機能 テーマ 自動 ライト ダーク | graphlib --- グラフ構造を操作する機能 ¶ ソースコード:
...は、簡単に準備が整ったノードの並列処理を行えるよう設計されています。例えば: topological_sorter = TopologicalSorter () # Add nodes to 'topological_sorter'... topological_sorter . prepare () while topological_sorter . is_active (): for node in topologica...l_sorter . get_ready (): # Worker threads or processes take nodes to work on off the # 'task_queue' queue. task_queue . put ( node ) # When the work for a node is done, workers put the nod...e in # 'finalized_tasks_queue' so we can get more nodes to work on. # The definition of 'is_active()' guarantees that, at this point, at # least one node has been placed on 'task... - https://man.mtool.work/python/3.14/library/graphlib.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 10603
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...ist, and fields of type ast.expr_context default to Load() . Previously, omitted attributes would not exist on constructed nodes (accessing them raised AttributeError ). バージョン 3.14 で変更: The __repr__() output of AST nodes includes the values of...erent class. バージョン 3.13 で非推奨、バージョン 3.15 で削除予定: Previous versions of Python allowed the creation of AST nodes that were missing required fields. Similarly, AST node constructors allowed arbitrary keyword arguments that were set as a...ノードクラスについての記述は、素晴らしい Green Tree Snakes プロジェクトとそのすべての貢献者の成果物をもとにしています。 Root nodes ¶ class ast. Module ( body , type_ignores ) ¶ A Python module, as with file input . Node type generated by ast.parse() in... - https://man.mtool.work/python/3.14/library/ast.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 10603
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...ist, and fields of type ast.expr_context default to Load() . Previously, omitted attributes would not exist on constructed nodes (accessing them raised AttributeError ). バージョン 3.14 で変更: The __repr__() output of AST nodes includes the values of...erent class. バージョン 3.13 で非推奨、バージョン 3.15 で削除予定: Previous versions of Python allowed the creation of AST nodes that were missing required fields. Similarly, AST node constructors allowed arbitrary keyword arguments that were set as a...ノードクラスについての記述は、素晴らしい Green Tree Snakes プロジェクトとそのすべての貢献者の成果物をもとにしています。 Root nodes ¶ class ast. Module ( body , type_ignores ) ¶ A Python module, as with file input . Node type generated by ast.parse() in... - https://man.mtool.work/python/3.14/library/ast.html
- xml.dom --- ドキュメントオブジェクトモデル API — Python 3.14.8 ドキュメント 9616
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.dom --- ドキュメントオブジェクトモデル API テーマ 自動 ライト ダーク | xml.dom --- ドキュメントオブジ
...くんでおり、XML文書の形式情報を表現しています。 Node オブジェクト ¶ XML 文書の全ての構成要素は Node のサブクラスです。 Only nodes of the following types can have children, and only children of the listed types: Document at most one Element , at most on...ction and Comment DocumentFragment and Element Element , Text , CDATASection , ProcessingInstruction and Comment Attr Text Nodes of other types cannot have children. Inserting a child of a not allowed type raises HierarchyRequestErr . Node. nodeType ¶...ださい。このノードが親ノードにおける末尾の子ノードである場合、属性値は None になります。読み出し専用の属性です。 Node. childNodes ¶ A NodeList of the children of this node. If the node has no children, the list is empty. This is a read-only attribute.... - https://man.mtool.work/python/3.14/library/xml.dom.html
- xml.dom --- ドキュメントオブジェクトモデル API — Python 3.14.8 ドキュメント 9616
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.dom --- ドキュメントオブジェクトモデル API テーマ 自動 ライト ダーク | xml.dom --- ドキュメントオブジ
...くんでおり、XML文書の形式情報を表現しています。 Node オブジェクト ¶ XML 文書の全ての構成要素は Node のサブクラスです。 Only nodes of the following types can have children, and only children of the listed types: Document at most one Element , at most on...ction and Comment DocumentFragment and Element Element , Text , CDATASection , ProcessingInstruction and Comment Attr Text Nodes of other types cannot have children. Inserting a child of a not allowed type raises HierarchyRequestErr . Node. nodeType ¶...ださい。このノードが親ノードにおける末尾の子ノードである場合、属性値は None になります。読み出し専用の属性です。 Node. childNodes ¶ A NodeList of the children of this node. If the node has no children, the list is empty. This is a read-only attribute.... - https://man.mtool.work/python/3.14/library/xml.dom.html
- 変更履歴 — Python 3.14.8 ドキュメント 8128
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...inidom elements and attributes created by directly instantiating the Element or Attr class. Note that this way of creating nodes is not supported; creator functions like xml.dom.Document.documentElement() should be used instead. gh-142784 : The asynci...e and without the extra argument. gh-138774 : ast.unparse() now generates full source code when handling ast.Interpolation nodes that do not have a specified source. gh-140474 : Fix memory leak in array.array when creating arrays from an empty str and...py.replace() to ast objects. Attributes that default to None were incorrectly treated as required for manually created AST nodes. gh-133684 : Fix bug where annotationlib.get_annotations() would return the wrong result for certain classes that are part... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- xml.dom.pulldom --- 部分的な DOM ツリー構築のサポート — Python 3.14.8 ドキュメ... 7987
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.dom.pulldom --- 部分的な DOM ツリー構築のサポート テーマ 自動 ライト ダーク | xml.dom.pulldom --- 部
...ode ) print ( node . toxml ()) event is one of the following constants, and node is the node which the event is about. The nodes implement the xml.dom interfaces; they are created by the DOM implementation given to PullDOM , which is xml.dom.minidom b...ctory = None ) ¶ Subclass of xml.sax.handler.ContentHandler which turns SAX events into the events of the pull parser. The nodes are created, but they are not added to the tree, unless expandNode() is called. documentFactory , if given, is a DOM imple...¶ Return the next (event, node) tuple, or None at the end of the document. See above for the events and the corresponding nodes. The current node does not contain information about its children, unless expandNode() is called. expandNode ( node ) ¶ no... - https://man.mtool.work/python/3.14/library/xml.dom.pulldom.html
- xml.dom.pulldom --- 部分的な DOM ツリー構築のサポート — Python 3.14.8 ドキュメ... 7987
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.dom.pulldom --- 部分的な DOM ツリー構築のサポート テーマ 自動 ライト ダーク | xml.dom.pulldom --- 部
...ode ) print ( node . toxml ()) event is one of the following constants, and node is the node which the event is about. The nodes implement the xml.dom interfaces; they are created by the DOM implementation given to PullDOM , which is xml.dom.minidom b...ctory = None ) ¶ Subclass of xml.sax.handler.ContentHandler which turns SAX events into the events of the pull parser. The nodes are created, but they are not added to the tree, unless expandNode() is called. documentFactory , if given, is a DOM imple...¶ Return the next (event, node) tuple, or None at the end of the document. See above for the events and the corresponding nodes. The current node does not contain information about its children, unless expandNode() is called. expandNode ( node ) ¶ no... - https://man.mtool.work/python/3.14/library/xml.dom.pulldom.html
- Python言語サービス — Python 3.14.8 ドキュメント 7925
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス テーマ 自動 ライト ダーク | Python言語サービス ¶ PythonにはPython言語を使って作業するときに役に立つモジュールがた
...ています。 これらのモジュールには、次のものが含まれています: ast --- Abstract syntax trees Abstract grammar Node クラス Root nodes リテラル 変数 式 (expression) 配列要素の参照 (Subscripting) 内包表記 (Comprehension) 文 (Statements) インポート 制御フロー...act Type コンパイル 命令 サービス 作業 提供 トークン 切り出し パース 構文 ディス アセンブリ syntax trees grammar Node Root nodes 前のトピックへ sys.path モジュール検索パスの初期化 次のトピックへ ast --- Abstract syntax trees This page Report a bug Imp... - https://man.mtool.work/python/3.14/library/language.html