Results of 1 - 10 of about 116 for functools (0.034 sec.)
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 12904
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...高階関数と呼び出し可能オブジェクトの操作 ¶ ソースコード: Lib/functools.py The functools module is for higher-order functions: functions that act on or return other functions. In general, any ca...llable object can be treated as a function for the purposes of this module. The functools module defines the following functions: @ functools. cache ( user_function ) ¶ 簡単で軽量な無制限の関数キャッシュです。 "メ...if another thread makes an additional call before the initial call has been completed and cached. Added in version 3.9. @ functools. cached_property ( func ) ¶ Transform a method of a class into a property whose value is computed once and then cached as... - https://man.mtool.work/python/3.14/library/functools.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 12904
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...高階関数と呼び出し可能オブジェクトの操作 ¶ ソースコード: Lib/functools.py The functools module is for higher-order functions: functions that act on or return other functions. In general, any ca...llable object can be treated as a function for the purposes of this module. The functools module defines the following functions: @ functools. cache ( user_function ) ¶ 簡単で軽量な無制限の関数キャッシュです。 "メ...if another thread makes an additional call before the initial call has been completed and cached. Added in version 3.9. @ functools. cached_property ( func ) ¶ Transform a method of a class into a property whose value is computed once and then cached as... - https://man.mtool.work/python/3.14/library/functools.html
- 関数型プログラミング HOWTO — Python 3.14.8 ドキュメント 10611
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 関数型プログラミング HOWTO テーマ 自動 ライト ダーク | 関数型プログラミング HOWTO ¶ Author : A. M. Kuchling Release : 0.32 この文書では、関数型スタ
...にしましょう。まず関数型プログラミングという概念を紹介したあと、 iterator や generator のような言語機能、および itertools や functools といった関連するライブラリモジュールを見ることにします。 はじめに ¶ この章は関数型プログラミングの基本概念を説明します; Py...意してください。そのため、 iterator-1 の結果を読み終わるまでは iterator-2 とそれに対応するキー値を要求することはできません。 functools モジュール ¶ functools モジュールには、高階関数がいくつか入っています。 高階関数 とは、入力として関数を受け取って新たな関数...を返す関数です。このモジュールで一番便利なツールは functools.partial() 関数です。 関数型スタイルのプログラムでは時折、既存の関数から一部のパラメータを埋めた変種を作りたくなることがあり... - https://man.mtool.work/python/3.14/howto/functional.html
- 関数型プログラミング HOWTO — Python 3.14.8 ドキュメント 10611
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 関数型プログラミング HOWTO テーマ 自動 ライト ダーク | 関数型プログラミング HOWTO ¶ Author : A. M. Kuchling Release : 0.32 この文書では、関数型スタ
...にしましょう。まず関数型プログラミングという概念を紹介したあと、 iterator や generator のような言語機能、および itertools や functools といった関連するライブラリモジュールを見ることにします。 はじめに ¶ この章は関数型プログラミングの基本概念を説明します; Py...意してください。そのため、 iterator-1 の結果を読み終わるまでは iterator-2 とそれに対応するキー値を要求することはできません。 functools モジュール ¶ functools モジュールには、高階関数がいくつか入っています。 高階関数 とは、入力として関数を受け取って新たな関数...を返す関数です。このモジュールで一番便利なツールは functools.partial() 関数です。 関数型スタイルのプログラムでは時折、既存の関数から一部のパラメータを埋めた変種を作りたくなることがあり... - https://man.mtool.work/python/3.14/howto/functional.html
- 変更履歴 — Python 3.14.8 ドキュメント 9847
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...created by asyncio.create_subprocess_exec() or asyncio.create_subprocess_shell() . Patch by Daan De Meyer. gh-145446 : Now functools is safer in free-threaded build when using keywords in functools.partial() gh-145417 : venv : Prevent incorrect preservati...eviously caused a subsequent multiprocessing.set_start_method() call to raise RuntimeError . gh-144475 : Calling repr() on functools.partial() is now safer when the partial object's internal attributes are replaced while the string representation is being...gh-143874 : Fixed a bug in pdb where expression results were not sent back to remote client. gh-143880 : Fix data race in functools.partial() in the free threading build. gh-143706 : Fix multiprocessing forkserver so that sys.argv is correctly set before... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- デスクリプタ ガイド — Python 3.14.8 ドキュメント 7454
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を
...e language. It is how functions turn into bound methods. Common tools like @classmethod , @staticmethod , @property , and @functools.cached_property are all implemented as descriptors. 実践的なサンプル ¶ このサンプルでは、発見が極めて難しいデータ破損バグを...) . f ( 3 ) 30 Using the non-data descriptor protocol, a pure Python version of @staticmethod would look like this: import functools class StaticMethod : "Emulate PyStaticMethod_Type() in Objects/funcobject.c" def __init__ ( self , f ): self . f = f funct...kwds ): return self . f ( * args , ** kwds ) @property def __annotations__ ( self ): return self . f . __annotations__ The functools.update_wrapper() call adds a __wrapped__ attribute that refers to the underlying function. Also it carries forward the att... - https://man.mtool.work/python/3.14/howto/descriptor.html
- アノテーションのベストプラクティス — Python 3.14.8 ドキュメント 7454
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » アノテーションのベストプラクティス テーマ 自動 ライト ダーク | アノテーションのベストプラクティス ¶ author : Larry Hastings 概要 このドキュメントは
...ずれかである場合は、単に o.__annotations__ を使えばアノテーション辞書を取得できます。 しかし、それ以外の callable (例えば、 functools.partial() で作られたもの) は __annotations__ 属性が定義されていない可能性があります。この属性があるかどうか不明なオブジェク...s[o.__module__].__dict__ を globals とし、 dict(vars(o)) を locals として eval() を呼ぶ。 If o is a wrapped callable using functools.update_wrapper() , @functools.wraps , or functools.partial() , iteratively unwrap it by accessing either o.__wrapped__ or...ノテーション 辞書 dict 推奨 属性 inspect ベストプラクティス None 方法 using コード annotationlib getattr 実装 eval callable functools type 評価 globals versions ドキュメント Base Derived 目次 アノテーションのベストプラクティス オブジェクトのアノテーション辞... - https://man.mtool.work/python/3.14/howto/annotations.html
- デスクリプタ ガイド — Python 3.14.8 ドキュメント 7454
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を
...e language. It is how functions turn into bound methods. Common tools like @classmethod , @staticmethod , @property , and @functools.cached_property are all implemented as descriptors. 実践的なサンプル ¶ このサンプルでは、発見が極めて難しいデータ破損バグを...) . f ( 3 ) 30 Using the non-data descriptor protocol, a pure Python version of @staticmethod would look like this: import functools class StaticMethod : "Emulate PyStaticMethod_Type() in Objects/funcobject.c" def __init__ ( self , f ): self . f = f funct...kwds ): return self . f ( * args , ** kwds ) @property def __annotations__ ( self ): return self . f . __annotations__ The functools.update_wrapper() call adds a __wrapped__ attribute that refers to the underlying function. Also it carries forward the att... - https://man.mtool.work/python/3.14/howto/descriptor.html
- 関数型プログラミング用モジュール — Python 3.14.8 ドキュメント 7241
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール テーマ 自動 ライト ダーク | 関数型プログラミング用モジュール ¶ この章では、関数型プログラミングスタ
...章では以下のモジュールが記述されています: itertools --- 効率的なループ用のイテレータ生成関数群 Itertool関数 Itertools レシピ functools --- 高階関数と呼び出し可能オブジェクトの操作 partial オブジェクト operator --- 関数形式の標準演算子 演算子から関数への対応...オブジェクト スタイル サポート 呼び出し 汎用 実現 クラス 記述 itertools 効率的 ループ イテレータ Itertool Itertools レシピ functools 前のトピックへ statistics --- 数学的統計関数 次のトピックへ itertools --- 効率的なループ用のイテレータ生成関数群 This page... - https://man.mtool.work/python/3.14/library/functional.html
- 関数型プログラミング用モジュール — Python 3.14.8 ドキュメント 7241
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール テーマ 自動 ライト ダーク | 関数型プログラミング用モジュール ¶ この章では、関数型プログラミングスタ
...章では以下のモジュールが記述されています: itertools --- 効率的なループ用のイテレータ生成関数群 Itertool関数 Itertools レシピ functools --- 高階関数と呼び出し可能オブジェクトの操作 partial オブジェクト operator --- 関数形式の標準演算子 演算子から関数への対応...ド 演算子 プログラミング 操作 スタイル サポート 汎用 実現 記述 itertools 効率的 ループ イテレータ Itertool Itertools レシピ functools 高階 partial operator 対応表 レース place 前のトピックへ statistics --- 数学的統計関数 次のトピックへ itertools --- 効率的... - https://man.mtool.work/python/3.14/library/functional.html