Results of 1 - 10 of about 142 for callback (0.007 sec.)
- contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 9828
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ
...的に) close されるときに逆順でそれを呼び出します。コンテキストスタックのインスタンスが暗黙的にガベージコレクトされたときには callback は呼び出され ません 。 このスタックモデルは、(file オブジェクトのように) __init__ メソッドでリソースを確保するコンテキスト...ックが例外を抑制したり置き換えたりした場合、外側のコールバックには更新された状態に応じた引数が渡されます。 これは正しく exit callback の stack を巻き戻すための、比較的低レベルな API です。アプリケーション独自のより高レベルなコンテキストマネージャーを作るた...しています。 Added in version 3.3. enter_context ( cm ) ¶ Enters a new context manager and adds its __exit__() method to the callback stack. The return value is the result of the context manager's own __enter__() method. コンテキストマネージャーは、普段 wi... - https://man.mtool.work/python/3.14/library/contextlib.html
- contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 9828
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ
...的に) close されるときに逆順でそれを呼び出します。コンテキストスタックのインスタンスが暗黙的にガベージコレクトされたときには callback は呼び出され ません 。 このスタックモデルは、(file オブジェクトのように) __init__ メソッドでリソースを確保するコンテキスト...ックが例外を抑制したり置き換えたりした場合、外側のコールバックには更新された状態に応じた引数が渡されます。 これは正しく exit callback の stack を巻き戻すための、比較的低レベルな API です。アプリケーション独自のより高レベルなコンテキストマネージャーを作るた...しています。 Added in version 3.3. enter_context ( cm ) ¶ Enters a new context manager and adds its __exit__() method to the callback stack. The return value is the result of the context manager's own __enter__() method. コンテキストマネージャーは、普段 wi... - https://man.mtool.work/python/3.14/library/contextlib.html
- optparse --- Parser for command line options — Python 3.14.8 ドキュメント 9674
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa
...value, pre-set via Option.const "append" オプションの引数を指定のリストに追加します "count" 指定のカウンタを 1 増やします "callback" 指定の関数を呼び出します これらのアクションについては、 リファレンスガイド 節および オプション処理コールバック 節で触れま...追加します "append_const" append a constant value to a list, pre-set via Option.const "count" 指定のカウンタを 1 増やします "callback" 指定の関数を呼び出します "help" 全てのオプションとそのドキュメントの入った使用法メッセージを出力します (アクションを指定し...ための、その定数です。 Option. choices ¶ "choice" 型オプションに対してユーザが選べる選択肢となる文字列のリストです。 Option. callback ¶ アクションが "callback" であるオプションに対し、このオプションがあったときに呼ばれる呼び出し可能オブジェクトです。呼び出... - https://man.mtool.work/python/3.14/library/optparse.html
- optparse --- Parser for command line options — Python 3.14.8 ドキュメント 9674
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa
...value, pre-set via Option.const "append" オプションの引数を指定のリストに追加します "count" 指定のカウンタを 1 増やします "callback" 指定の関数を呼び出します これらのアクションについては、 リファレンスガイド 節および オプション処理コールバック 節で触れま...追加します "append_const" append a constant value to a list, pre-set via Option.const "count" 指定のカウンタを 1 増やします "callback" 指定の関数を呼び出します "help" 全てのオプションとそのドキュメントの入った使用法メッセージを出力します (アクションを指定し...ための、その定数です。 Option. choices ¶ "choice" 型オプションに対してユーザが選べる選択肢となる文字列のリストです。 Option. callback ¶ アクションが "callback" であるオプションに対し、このオプションがあったときに呼ばれる呼び出し可能オブジェクトです。呼び出... - https://man.mtool.work/python/3.14/library/optparse.html
- sys.monitoring --- 実行イベントモニタリング — Python 3.14.8 ドキュメント 9579
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys.monitoring --- 実行イベントモニタリング テーマ 自動 ライト ダーク | sys.monitoring --- 実行イベント
...ts occur that might be of interest to tools that monitor execution. The sys.monitoring namespace provides means to receive callbacks when events of interest occur. The monitoring API consists of three components: Tool identifiers Events Callbacks Tool id...a ValueError if tool_id is in use. sys.monitoring. clear_tool_id ( tool_id : int , / ) → None ¶ Unregister all events and callback functions associated with tool_id . Added in version 3.14. sys.monitoring. free_tool_id ( tool_id : int , / ) → None ¶ Sho...e releasing tool_id . Previously, it would not disable global or local events associated with tool_id , nor unregister any callback functions. sys.monitoring. get_tool ( tool_id : int , / ) → str | None ¶ Returns the name of the tool if tool_id is in use... - https://man.mtool.work/python/3.14/library/sys.monitoring.html
- sys.monitoring --- 実行イベントモニタリング — Python 3.14.8 ドキュメント 9579
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys.monitoring --- 実行イベントモニタリング テーマ 自動 ライト ダーク | sys.monitoring --- 実行イベント
...ts occur that might be of interest to tools that monitor execution. The sys.monitoring namespace provides means to receive callbacks when events of interest occur. The monitoring API consists of three components: Tool identifiers Events Callbacks Tool id...a ValueError if tool_id is in use. sys.monitoring. clear_tool_id ( tool_id : int , / ) → None ¶ Unregister all events and callback functions associated with tool_id . Added in version 3.14. sys.monitoring. free_tool_id ( tool_id : int , / ) → None ¶ Sho...e releasing tool_id . Previously, it would not disable global or local events associated with tool_id , nor unregister any callback functions. sys.monitoring. get_tool ( tool_id : int , / ) → str | None ¶ Returns the name of the tool if tool_id is in use... - https://man.mtool.work/python/3.14/library/sys.monitoring.html
- weakref --- Weak references — Python 3.14.8 ドキュメント 8950
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w
...sequence of strings in the __slots__ declaration. See __slots__ documentation for details. class weakref. ref ( object [ , callback ] ) ¶ object への弱参照を返します。リファレントがまだ生きているならば、元のオブジェクトは参照オブジェクトの呼び出しで取り出...せす。リファレントがもはや生きていないならば、参照オブジェクトを呼び出したときに None を返します。 callback に None 以外の値を与えた場合、オブジェクトをまさに後始末処理しようとするときに呼び出します。このとき弱参照オブジェクトは c...されたコールバックは、もっとも新しく登録されたコールバックからもっとも古いものへと呼び出されます。 Exceptions raised by the callback will be noted on the standard error output, but cannot be propagated; they are handled in exactly the same way as exceptio... - https://man.mtool.work/python/3.14/library/weakref.html
- weakref --- Weak references — Python 3.14.8 ドキュメント 8950
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w
...sequence of strings in the __slots__ declaration. See __slots__ documentation for details. class weakref. ref ( object [ , callback ] ) ¶ object への弱参照を返します。リファレントがまだ生きているならば、元のオブジェクトは参照オブジェクトの呼び出しで取り出...せす。リファレントがもはや生きていないならば、参照オブジェクトを呼び出したときに None を返します。 callback に None 以外の値を与えた場合、オブジェクトをまさに後始末処理しようとするときに呼び出します。このとき弱参照オブジェクトは c...されたコールバックは、もっとも新しく登録されたコールバックからもっとも古いものへと呼び出されます。 Exceptions raised by the callback will be noted on the standard error output, but cannot be propagated; they are handled in exactly the same way as exceptio... - https://man.mtool.work/python/3.14/library/weakref.html
- Function オブジェクト — Python 3.14.8 ドキュメント 7881
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Function オブジェクト テーマ 自動 ライト ダーク | Function オブジェクト ¶ Functionオブ
...sing anything other than an instance of PyFunction_Type is undefined behavior. int PyFunction_AddWatcher ( PyFunction_WatchCallback callback ) ¶ Register callback as a function watcher for the current interpreter. Return an ID which may be passed to PyFu...PyFunction_EVENT_MODIFY_DEFAULTS PyFunction_EVENT_MODIFY_KWDEFAULTS Added in version 3.12. typedef int ( * PyFunction_WatchCallback ) ( PyFunction_WatchEvent event , PyFunctionObject * func , PyObject * new_value ) ¶ Type of a function watcher callback f...old a borrowed reference to the new value that is about to be stored in func for the attribute that is being modified. The callback may inspect but must not modify func ; doing so could have unpredictable effects, including infinite recursion. If event i... - https://man.mtool.work/python/3.14/c-api/function.html
- Function オブジェクト — Python 3.14.8 ドキュメント 7881
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Function オブジェクト テーマ 自動 ライト ダーク | Function オブジェクト ¶ Functionオブ
...sing anything other than an instance of PyFunction_Type is undefined behavior. int PyFunction_AddWatcher ( PyFunction_WatchCallback callback ) ¶ Register callback as a function watcher for the current interpreter. Return an ID which may be passed to PyFu...PyFunction_EVENT_MODIFY_DEFAULTS PyFunction_EVENT_MODIFY_KWDEFAULTS Added in version 3.12. typedef int ( * PyFunction_WatchCallback ) ( PyFunction_WatchEvent event , PyFunctionObject * func , PyObject * new_value ) ¶ Type of a function watcher callback f...old a borrowed reference to the new value that is about to be stored in func for the attribute that is being modified. The callback may inspect but must not modify func ; doing so could have unpredictable effects, including infinite recursion. If event i... - https://man.mtool.work/python/3.14/c-api/function.html