Results of 1 - 10 of about 40 for hierarchy (0.012 sec.)
- The Python 2.3 Method Resolution Order — Python 3.14.8 ドキュメント 13901
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » The Python 2.3 Method Resolution Order テーマ 自動 ライト ダーク | The Python 2.3 Method Resolution Order ¶ 注釈 This is a historical document, pr
...cated as you might expect. Let me begin with some basic definitions. Given a class C in a complicated multiple inheritance hierarchy, it is a non-trivial task to specify the order in which methods are overridden, i.e. to specify the order of the ancestors...O of C" is also used as a synonymous for the linearization of the class C. For instance, in the case of single inheritance hierarchy, if C is a subclass of C1, and C1 is a subclass of C2, then the linearization of C is simply the list [C, C1 , C2]. Howeve...ss such that its linearization respects all the desired properties. Here I give an example of this situation. Consider the hierarchy >>> O = object >>> class X ( O ): pass >>> class Y ( O ): pass >>> class A ( X , Y ): pass >>> class B ( Y , X ): pass whi... - https://man.mtool.work/python/3.14/howto/mro.html
- The Python 2.3 Method Resolution Order — Python 3.14.8 ドキュメント 13901
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » The Python 2.3 Method Resolution Order テーマ 自動 ライト ダーク | The Python 2.3 Method Resolution Order ¶ 注釈 This is a historical document, pr
...cated as you might expect. Let me begin with some basic definitions. Given a class C in a complicated multiple inheritance hierarchy, it is a non-trivial task to specify the order in which methods are overridden, i.e. to specify the order of the ancestors...O of C" is also used as a synonymous for the linearization of the class C. For instance, in the case of single inheritance hierarchy, if C is a subclass of C1, and C1 is a subclass of C2, then the linearization of C is simply the list [C, C1 , C2]. Howeve...ss such that its linearization respects all the desired properties. Here I give an example of this situation. Consider the hierarchy >>> O = object >>> class X ( O ): pass >>> class Y ( O ): pass >>> class A ( X , Y ): pass >>> class B ( Y , X ): pass whi... - https://man.mtool.work/python/3.14/howto/mro.html
- Command-line introspection tools — Python 3.14.8 ドキュメント 9064
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Command-line introspection tools テーマ 自動 ライト ダーク | Command-li
...c call graph of a task or future in the current process. The command examples below use this program, which creates a task hierarchy suitable for inspection and prints its process ID: example.py ¶ import asyncio import os async def play ( track ): await a...sted under the task (if any) that is awaiting it. This subcommand is useful for quickly identifying which branch of a task hierarchy is blocked and where in its coroutine stack execution has paused: $ python -m asyncio pstree 12345 └── (T) Task-1 └── main... - https://man.mtool.work/python/3.14/library/asyncio-tools.html
- pkgutil --- パッケージ拡張ユーティリティ — Python 3.14.8 ドキュメント 9064
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » pkgutil --- パッケージ拡張ユーティリティ テーマ 自動 ライト ダーク | pkgutil --- パッケージ拡張ユーティリテ
...ewhere within that package, possibly nested inside other objects. Because the place where the package stops and the object hierarchy starts can't be inferred by inspection, repeated attempts to import must be done with this form. In the second form, the c...olon: the dotted name to the left of the colon is a package to be imported, and the dotted name to the right is the object hierarchy within that package. Only one import is needed in this form. If it ends with the colon, then a module object is returned....ortError -- if an import failed when it shouldn't have. AttributeError -- If a failure occurred when traversing the object hierarchy within the imported package to get to the desired object. Added in version 3.9. 関連キーワード path パッケージ name packag... - https://man.mtool.work/python/3.14/library/pkgutil.html
- Command-line introspection tools — Python 3.14.8 ドキュメント 9064
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Command-line introspection tools テーマ 自動 ライト ダーク | Command-li
...c call graph of a task or future in the current process. The command examples below use this program, which creates a task hierarchy suitable for inspection and prints its process ID: example.py ¶ import asyncio import os async def play ( track ): await a...sted under the task (if any) that is awaiting it. This subcommand is useful for quickly identifying which branch of a task hierarchy is blocked and where in its coroutine stack execution has paused: $ python -m asyncio pstree 12345 └── (T) Task-1 └── main... - https://man.mtool.work/python/3.14/library/asyncio-tools.html
- pkgutil --- パッケージ拡張ユーティリティ — Python 3.14.8 ドキュメント 9064
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » pkgutil --- パッケージ拡張ユーティリティ テーマ 自動 ライト ダーク | pkgutil --- パッケージ拡張ユーティリテ
...ewhere within that package, possibly nested inside other objects. Because the place where the package stops and the object hierarchy starts can't be inferred by inspection, repeated attempts to import must be done with this form. In the second form, the c...olon: the dotted name to the left of the colon is a package to be imported, and the dotted name to the right is the object hierarchy within that package. Only one import is needed in this form. If it ends with the colon, then a module object is returned....ortError -- if an import failed when it shouldn't have. AttributeError -- If a failure occurred when traversing the object hierarchy within the imported package to get to the desired object. Added in version 3.9. 関連キーワード path パッケージ package pkg... - https://man.mtool.work/python/3.14/library/pkgutil.html
- DTrace と SystemTap で CPython を測定する — Python 3.14.8 ドキュメント 8721
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » DTrace と SystemTap で CPython を測定する テーマ 自動 ライト ダーク | DTrace と SystemTap で CPython を測定する ¶ author : David Malcolm author :
...used by a SystemTap script. 静的 DTrace プローブ ¶ The following example DTrace script can be used to show the call/return hierarchy of a Python script, only tracing within the invocation of a function called "start". In other words, import-time function...s <= %s in %s:%d\\n", thread_indent(-1), funcname, filename, lineno); } この例は次のように実行できます: $ stap \ show-call-hierarchy.stp \ -c "./python test.py" 出力はこのようになります: 11408 python(8274): => __contains__ in Lib/_abcoll.py:362 11414 pyth...stemTap script uses the tapset above to more cleanly implement the example given above of tracing the Python function-call hierarchy, without needing to directly name the static markers: probe python.function.entry { printf("%s => %s in %s:%d\n", thread_i... - https://man.mtool.work/python/3.14/howto/instrumentation.html
- DTrace と SystemTap で CPython を測定する — Python 3.14.8 ドキュメント 8721
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » DTrace と SystemTap で CPython を測定する テーマ 自動 ライト ダーク | DTrace と SystemTap で CPython を測定する ¶ author : David Malcolm author :
...used by a SystemTap script. 静的 DTrace プローブ ¶ The following example DTrace script can be used to show the call/return hierarchy of a Python script, only tracing within the invocation of a function called "start". In other words, import-time function...s <= %s in %s:%d\\n", thread_indent(-1), funcname, filename, lineno); } この例は次のように実行できます: $ stap \ show-call-hierarchy.stp \ -c "./python test.py" 出力はこのようになります: 11408 python(8274): => __contains__ in Lib/_abcoll.py:362 11414 pyth...stemTap script uses the tapset above to more cleanly implement the example given above of tracing the Python function-call hierarchy, without needing to directly name the static markers: probe python.function.entry { printf("%s => %s in %s:%d\n", thread_i... - https://man.mtool.work/python/3.14/howto/instrumentation.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 8206
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...h widget is represented as a Python object, instantiated from classes like ttk.Frame , ttk.Label , and ttk.Button . widget hierarchy Widgets are arranged in a hierarchy . The label and button were contained within a frame, which in turn was contained with...pathname in Tcl (like .frm.btn ), whereas Tkinter doesn't use names but object references. A widget's place in the widget hierarchy is encoded in its (hierarchical) pathname, which uses a . (dot) as a path separator. The pathname for the root window is j...ust . (dot). In Tkinter, the hierarchy is defined not by pathname but by specifying the parent widget when creating each child widget. Operations which are imple... - https://man.mtool.work/python/3.14/library/tkinter.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 8019
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...h widget is represented as a Python object, instantiated from classes like ttk.Frame , ttk.Label , and ttk.Button . widget hierarchy Widgets are arranged in a hierarchy . The label and button were contained within a frame, which in turn was contained with...pathname in Tcl (like .frm.btn ), whereas Tkinter doesn't use names but object references. A widget's place in the widget hierarchy is encoded in its (hierarchical) pathname, which uses a . (dot) as a path separator. The pathname for the root window is j...ust . (dot). In Tkinter, the hierarchy is defined not by pathname but by specifying the parent widget when creating each child widget. Operations which are imple... - https://man.mtool.work/python/3.14/library/tkinter.html