Results of 1 - 10 of about 98 for wrapped (0.035 sec.)
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 13982
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...120 >>> factorial ( 12 ) # two new recursive calls, factorial(10) is cached 479001600 The cache is threadsafe so that the wrapped function can be used in multiple threads. This means that the underlying data structure will remain coherent during concur...rent updates. It is possible for the wrapped function to be called more than once if another thread makes an additional call before the initial call has been completed...関数や I/O に束縛されている関数を定期的に同じ引数で呼び出すときに、時間を節約できます。 The cache is threadsafe so that the wrapped function can be used in multiple threads. This means that the underlying data structure will remain coherent during concur... - https://man.mtool.work/python/3.14/library/functools.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 13982
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...120 >>> factorial ( 12 ) # two new recursive calls, factorial(10) is cached 479001600 The cache is threadsafe so that the wrapped function can be used in multiple threads. This means that the underlying data structure will remain coherent during concur...rent updates. It is possible for the wrapped function to be called more than once if another thread makes an additional call before the initial call has been completed...関数や I/O に束縛されている関数を定期的に同じ引数で呼び出すときに、時間を節約できます。 The cache is threadsafe so that the wrapped function can be used in multiple threads. This means that the underlying data structure will remain coherent during concur... - https://man.mtool.work/python/3.14/library/functools.html
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 9447
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...cals defaults to the obj class namespace. If obj is a callable, globals defaults to obj.__globals__ , although if obj is a wrapped function (using functools.update_wrapper() ) or a functools.partial object, it is unwrapped until a non-wrapped function i...ar_keys } ns [ "__annotations__" ] = { key : value for key , value in annotations . items () if key not in classvar_keys } wrapped_annotate = None elif annotate := annotationlib . get_annotate_from_class_namespace ( ns ): annotations = annotationlib . c...yping . get_origin ( value ) is typing . ClassVar } classvars = { key : annotations [ key ] for key in classvar_keys } def wrapped_annotate ( format ): annos = annotationlib . call_annotate_function ( annotate , format , owner = typ ) return { key : val... - https://man.mtool.work/python/3.14/library/annotationlib.html
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 9447
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...cals defaults to the obj class namespace. If obj is a callable, globals defaults to obj.__globals__ , although if obj is a wrapped function (using functools.update_wrapper() ) or a functools.partial object, it is unwrapped until a non-wrapped function i...ar_keys } ns [ "__annotations__" ] = { key : value for key , value in annotations . items () if key not in classvar_keys } wrapped_annotate = None elif annotate := annotationlib . get_annotate_from_class_namespace ( ns ): annotations = annotationlib . c...yping . get_origin ( value ) is typing . ClassVar } classvars = { key : annotations [ key ] for key in classvar_keys } def wrapped_annotate ( format ): annos = annotationlib . call_annotate_function ( annotate , format , owner = typ ) return { key : val... - https://man.mtool.work/python/3.14/library/annotationlib.html
- デスクリプタオブジェクト (descriptor object) — Python 3.14.8 ドキュメント 8428
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » デスクリプタオブジェクト (descriptor object) テーマ 自動 ライト ダーク | デスクリプタ
...t to Python's calling convention. PyObject * PyDescr_NewWrapper ( PyTypeObject * type , struct wrapperbase * base , void * wrapped ) ¶ 戻り値: 新しい参照。 Create a new wrapper descriptor for extension type type from the wrapperbase structure base and t...he wrapped slot function pointer wrapped . Wrapper descriptors expose special methods implemented by type slots. This is the same kin... - https://man.mtool.work/python/3.14/c-api/descriptor.html
- デスクリプタオブジェクト (descriptor object) — Python 3.14.8 ドキュメント 8428
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » デスクリプタオブジェクト (descriptor object) テーマ 自動 ライト ダーク | デスクリプタ
...t to Python's calling convention. PyObject * PyDescr_NewWrapper ( PyTypeObject * type , struct wrapperbase * base , void * wrapped ) ¶ 戻り値: 新しい参照。 Create a new wrapper descriptor for extension type type from the wrapperbase structure base and t...he wrapped slot function pointer wrapped . Wrapper descriptors expose special methods implemented by type slots. This is the same kin... - https://man.mtool.work/python/3.14/c-api/descriptor.html
- inspect --- 活動中のオブジェクトを調査する — Python 3.14.8 ドキュメント 7931
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » inspect --- 活動中のオブジェクトを調査する テーマ 自動 ライト ダーク | inspect --- 活動中のオブジェクト
...ction-like objects now return True if their code object has the CO_ASYNC_GENERATOR flag. バージョン 3.13 で変更: Functions wrapped in functools.partialmethod() now return True if the wrapped function is a asynchronous generator function. inspect. isasyn...ます。 Signature オブジェクトを取得するには、 signature() 関数を使ってください。 inspect. signature ( callable , * , follow_wrapped = True , globals = None , locals = None , eval_str = False , annotation_format = Format.VALUE ) ¶ callable で与えられたオブ...あることを示します。より詳しい情報は、 位置専用引数に関する FAQ エントリ を参照してください。 バージョン 3.5 で変更: follow_wrapped パラメータが追加されました。parameter was added. 特に callable そのものについてのシグネチャを取得するためには False を指定... - https://man.mtool.work/python/3.14/library/inspect.html
- inspect --- 活動中のオブジェクトを調査する — Python 3.14.8 ドキュメント 7931
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » inspect --- 活動中のオブジェクトを調査する テーマ 自動 ライト ダーク | inspect --- 活動中のオブジェクト
...ction-like objects now return True if their code object has the CO_ASYNC_GENERATOR flag. バージョン 3.13 で変更: Functions wrapped in functools.partialmethod() now return True if the wrapped function is a asynchronous generator function. inspect. isasyn...ます。 Signature オブジェクトを取得するには、 signature() 関数を使ってください。 inspect. signature ( callable , * , follow_wrapped = True , globals = None , locals = None , eval_str = False , annotation_format = Format.VALUE ) ¶ callable で与えられたオブ...あることを示します。より詳しい情報は、 位置専用引数に関する FAQ エントリ を参照してください。 バージョン 3.5 で変更: follow_wrapped パラメータが追加されました。parameter was added. 特に callable そのものについてのシグネチャを取得するためには False を指定... - https://man.mtool.work/python/3.14/library/inspect.html
- What's New In Python 3.4 — Python 3.14.8 ドキュメント 7592
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.4 テーマ 自動 ライト ダーク | What's New In Python 3.4 ¶ 著者 : R. David Murray < rdmurray @ bitdance . com > (Edit
...) unwrap() makes it easy to unravel wrapper function chains created by @functools.wraps (and any other API that sets the __wrapped__ attribute on a wrapper function). (Contributed by Daniel Urban, Aaron Iles and Nick Coghlan in bpo-13266 .) 新規 enum モ...d by argument clinic, functools.partial() objects and more. Note that, unlike signature() , these functions still ignore __wrapped__ attributes, and report the already bound first argument for bound methods, so it is still necessary to update your code...。これによりより幅広く callable オブジェクトのシグニチャ情報を提供出来るようになりました。この変更は、ヘルプ情報表示の際に __wrapped__ 属性も考慮に入れられることも意味しています。(Contributed by Larry Hastings in bpo-19674 .) pydoc モジュールはもはや既に束... - https://man.mtool.work/python/3.14/whatsnew/3.4.html
- 変更履歴 — Python 3.14.8 ドキュメント 7592
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...n updated for compatibilty with Xcode 27. gh-155411 : Fix test.support.subTests() for asynchronous test methods. They were wrapped in a synchronous function, which discarded the coroutine without awaiting it, so the test silently did not run at all. gh-...std.ZstdDecompressor when an invalid option key is passed. gh-146553 : Fix infinite loop in typing.get_type_hints() when __wrapped__ forms a cycle. Patch by Shamil Abdulaev. gh-148508 : An intermittent timing error when running SSL tests on iOS has been...ix annotationlib.get_annotations() hanging indefinitely when called with eval_str=True on a callable that has a circular __wrapped__ chain (e.g. f.__wrapped__ = f ). Cycle detection using an id-based visited set now stops the traversal and falls back to... - https://man.mtool.work/python/3.14/whatsnew/changelog.html