per page, with , order by , clip by
Results of 1 - 10 of about 203 for Callable (0.009 sec.)
Call プロトコル — Python 3.14.8 ドキュメント 13321
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » Call プロトコル テーマ 自動 ライト ダーク | Call プロトコル ¶ CPython supports ... two different calling protocols: tp_call and vectorcall. The tp_call Protocol ¶ Instances of classes that set tp_call are callable. The signature of the slot is: PyObject * tp_call ( PyObject * callable , PyObject * args , PyObject * kwargs ); A call is ... made using a tuple for the positional arguments and a dict for the keyword arguments, similarly to callable(*args, **kwargs) in Python code. args must be non-NULL (use an empty tuple if there are no arguments) but kwargs may be NU ... l protocol for making calls more efficient. As rule of thumb, CPython will prefer the vectorcall for internal calls if the callable supports it. However, this is not a hard rule. Additionally, some third-party extensions use tp_call directly (rather than ...
https://man.mtool.work/python/3.14/c-api/call.html
Call プロトコル — Python 3.14.8 ドキュメント 13321
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » Call プロトコル テーマ 自動 ライト ダーク | Call プロトコル ¶ CPython supports ... two different calling protocols: tp_call and vectorcall. The tp_call Protocol ¶ Instances of classes that set tp_call are callable. The signature of the slot is: PyObject * tp_call ( PyObject * callable , PyObject * args , PyObject * kwargs ); A call is ... made using a tuple for the positional arguments and a dict for the keyword arguments, similarly to callable(*args, **kwargs) in Python code. args must be non-NULL (use an empty tuple if there are no arguments) but kwargs may be NU ... l protocol for making calls more efficient. As rule of thumb, CPython will prefer the vectorcall for internal calls if the callable supports it. However, this is not a hard rule. Additionally, some third-party extensions use tp_call directly (rather than ...
https://man.mtool.work/python/3.14/c-api/call.html
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 9608
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... るということに注意してください。 実行時に Derived = NewType('Derived', Base) という文は渡された仮引数をただちに返す Derived callable を作ります。 つまり Derived(some_value) という式は新しいクラスを作ることはなく、通常の関数呼び出しより多くのオーバーヘッド ... e 呼び出し時のパフォーマンスが Python 3.9 のレベルに戻りました 呼び出し可能オブジェクトのアノテーション ¶ 関数、または他の callable なオブジェクトは、 collections.abc.Callable または typing.Callable を使ってアノテーションすることができます。 Callable[[in ... t], str] は、 int 型のパラメータを1つ受け取り、 str を返す関数を意味します。 例えば: from collections.abc import Callable , Awaitable def feeder ( get_next_item : Callable [[], str ]) -> None : ... # Body def async_query ( on_success : Callable ...
https://man.mtool.work/python/3.14/library/typing.html
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 9544
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... るということに注意してください。 実行時に Derived = NewType('Derived', Base) という文は渡された仮引数をただちに返す Derived callable を作ります。 つまり Derived(some_value) という式は新しいクラスを作ることはなく、通常の関数呼び出しより多くのオーバーヘッド ... e 呼び出し時のパフォーマンスが Python 3.9 のレベルに戻りました 呼び出し可能オブジェクトのアノテーション ¶ 関数、または他の callable なオブジェクトは、 collections.abc.Callable または typing.Callable を使ってアノテーションすることができます。 Callable[[in ... t], str] は、 int 型のパラメータを1つ受け取り、 str を返す関数を意味します。 例えば: from collections.abc import Callable , Awaitable def feeder ( get_next_item : Callable [[], str ]) -> None : ... # Body def async_query ( on_success : Callable ...
https://man.mtool.work/python/3.14/library/typing.html
デスクリプタオブジェクト (descriptor object) — Python 3.14.8 ドキュメント 8046
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » デスクリプタオブジェクト (descriptor object) テーマ 自動 ライト ダーク | デスクリプタ ... ion types, and corresponds to types.ClassMethodDescriptorType objects in Python. PyObject * PyClassMethod_New ( PyObject * callable ) ¶ Create a new classmethod object wrapping callable . callable must be a callable object and must not be NULL . On succe ... ic method objects. This is the same object as staticmethod in the Python layer. PyObject * PyStaticMethod_New ( PyObject * callable ) ¶ Create a new staticmethod object wrapping callable . callable must be a callable object and must not be NULL . On succ ... ct method Stable descriptors created wrapper Type PyDescr Create expose success strong reference exception failure methods callable struct Return extension 目次 デスクリプタオブジェクト (descriptor object) Built-in descriptors 前のトピックへ イテレータオ ...
https://man.mtool.work/python/3.14/c-api/descriptor.html
デスクリプタオブジェクト (descriptor object) — Python 3.14.8 ドキュメント 7650
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » デスクリプタオブジェクト (descriptor object) テーマ 自動 ライト ダーク | デスクリプタ ... ion types, and corresponds to types.ClassMethodDescriptorType objects in Python. PyObject * PyClassMethod_New ( PyObject * callable ) ¶ Create a new classmethod object wrapping callable . callable must be a callable object and must not be NULL . On succe ... ic method objects. This is the same object as staticmethod in the Python layer. PyObject * PyStaticMethod_New ( PyObject * callable ) ¶ Create a new staticmethod object wrapping callable . callable must be a callable object and must not be NULL . On succ ...
https://man.mtool.work/python/3.14/c-api/descriptor.html
sys.monitoring --- 実行イベントモニタリング — Python 3.14.8 ドキュメント 6997
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys.monitoring --- 実行イベントモニタリング テーマ 自動 ライト ダーク | sys.monitoring --- 実行イベント ... CALL ¶ A call in Python code (event occurs before the call). sys.monitoring.events. C_RAISE ¶ An exception raised from any callable, except for Python functions (event occurs after the exit). sys.monitoring.events. C_RETURN ¶ Return from any callable, ex ... E for all tools. Registering callback functions ¶ sys.monitoring. register_callback ( tool_id : int , event : int , func : Callable | None , / ) → Callable | None ¶ Registers the callable func for the event with the given tool_id If another callback was ... bject CALL , C_RAISE and C_RETURN ( arg0 can be MISSING specifically): func ( code : CodeType , instruction_offset : int , callable : object , arg0 : object ) -> object code represents the code object where the call is being made, while callable is the o ...
https://man.mtool.work/python/3.14/library/sys.monitoring.html
What's New In Python 3.10 — Python 3.14.8 ドキュメント 6997
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と ... meter Specification Variables ¶ Two new options to improve the information provided to static type checkers for PEP 484 's Callable have been added to the typing module. The first is the parameter specification variable. They are used to forward the para ... meter types of one callable to another callable -- a pattern commonly found in higher order functions and decorators. Examples of usage can be found i ... new Concatenate operator. It's used in conjunction with parameter specification variables to type annotate a higher order callable which adds or removes parameters of another callable. Examples of usage can be found in typing.Concatenate . See typing.Ca ...
https://man.mtool.work/python/3.14/whatsnew/3.10.html
sys.monitoring --- 実行イベントモニタリング — Python 3.14.8 ドキュメント 6997
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys.monitoring --- 実行イベントモニタリング テーマ 自動 ライト ダーク | sys.monitoring --- 実行イベント ... CALL ¶ A call in Python code (event occurs before the call). sys.monitoring.events. C_RAISE ¶ An exception raised from any callable, except for Python functions (event occurs after the exit). sys.monitoring.events. C_RETURN ¶ Return from any callable, ex ... E for all tools. Registering callback functions ¶ sys.monitoring. register_callback ( tool_id : int , event : int , func : Callable | None , / ) → Callable | None ¶ Registers the callable func for the event with the given tool_id If another callback was ... bject CALL , C_RAISE and C_RETURN ( arg0 can be MISSING specifically): func ( code : CodeType , instruction_offset : int , callable : object , arg0 : object ) -> object code represents the code object where the call is being made, while callable is the o ...
https://man.mtool.work/python/3.14/library/sys.monitoring.html
What's New In Python 3.10 — Python 3.14.8 ドキュメント 6997
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と ... meter Specification Variables ¶ Two new options to improve the information provided to static type checkers for PEP 484 's Callable have been added to the typing module. The first is the parameter specification variable. They are used to forward the para ... meter types of one callable to another callable -- a pattern commonly found in higher order functions and decorators. Examples of usage can be found i ... new Concatenate operator. It's used in conjunction with parameter specification variables to type annotate a higher order callable which adds or removes parameters of another callable. Examples of usage can be found in typing.Concatenate . See typing.Ca ...
https://man.mtool.work/python/3.14/whatsnew/3.10.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT