Results of 1 - 10 of about 140 for property (0.008 sec.)
- abc --- 抽象基底クラス — Python 3.14.8 ドキュメント 12119
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » abc --- 抽象基底クラス テーマ 自動 ライト ダーク | abc --- 抽象基底クラス ¶ ソースコード: Lib/abc.py こ
...def my_abstract_classmethod ( cls , arg2 ): ... @staticmethod @abstractmethod def my_abstract_staticmethod ( arg3 ): ... @property @abstractmethod def my_abstract_property ( self ): ... @my_abstract_property . setter @abstractmethod def my_abstract_prop...erty ( self , val ): ... @abstractmethod def _get_x ( self ): ... @abstractmethod def _set_x ( self , val ): ... x = property ( _get_x , _set_x ) In order to correctly interoperate with the abstract base class machinery, the descriptor must identif...ttribute should be True if any of the methods used to compose the descriptor are abstract. For example, Python's built-in @property does the equivalent of: class Descriptor : ... @property def __isabstractmethod__ ( self ): return any ( getattr ( f , '__... - https://man.mtool.work/python/3.14/library/abc.html
- abc --- 抽象基底クラス — Python 3.14.8 ドキュメント 12119
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » abc --- 抽象基底クラス テーマ 自動 ライト ダーク | abc --- 抽象基底クラス ¶ ソースコード: Lib/abc.py こ
...def my_abstract_classmethod ( cls , arg2 ): ... @staticmethod @abstractmethod def my_abstract_staticmethod ( arg3 ): ... @property @abstractmethod def my_abstract_property ( self ): ... @my_abstract_property . setter @abstractmethod def my_abstract_prop...erty ( self , val ): ... @abstractmethod def _get_x ( self ): ... @abstractmethod def _set_x ( self , val ): ... x = property ( _get_x , _set_x ) In order to correctly interoperate with the abstract base class machinery, the descriptor must identif...ttribute should be True if any of the methods used to compose the descriptor are abstract. For example, Python's built-in @property does the equivalent of: class Descriptor : ... @property def __isabstractmethod__ ( self ): return any ( getattr ( f , '__... - https://man.mtool.work/python/3.14/library/abc.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 10629
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...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 a normal attribut...e for the life of the instance. Similar to @property , with the addition of caching. Useful for expensive computed properties of instances that are otherwise effectively immut...ム例です: class DataSet : def __init__ ( self , sequence_of_numbers ): self . _data = tuple ( sequence_of_numbers ) @cached_property def stdev ( self ): return statistics . stdev ( self . _data ) The mechanics of @cached_property are somewhat different fr... - https://man.mtool.work/python/3.14/library/functools.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 10629
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...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 a normal attribut...e for the life of the instance. Similar to @property , with the addition of caching. Useful for expensive computed properties of instances that are otherwise effectively immut...ム例です: class DataSet : def __init__ ( self , sequence_of_numbers ): self . _data = tuple ( sequence_of_numbers ) @cached_property def stdev ( self ): return statistics . stdev ( self . _data ) The mechanics of @cached_property are somewhat different fr... - https://man.mtool.work/python/3.14/library/functools.html
- デスクリプタ ガイド — Python 3.14.8 ドキュメント 9759
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を
...out how functions turn into bound methods or about the implementation of common tools like @classmethod , @staticmethod , @property , and __slots__ . 入門 ¶ この入門では、なるべく基礎的なところから開始し、新しい要素を一つずつ紹介していきます。 シンプルな...ed throughout the language. It is how functions turn into bound methods. Common tools like @classmethod , @staticmethod , @property , and @functools.cached_property are all implemented as descriptors. 実践的なサンプル ¶ このサンプルでは、発見が極めて難し...ティ、束縛のメソッド、静的メソッド、クラスメソッド、 __slots__ は、全てデスクリプタプロトコルに基づいています。 プロパティ ¶ property() を呼び出すことで、属性へアクセスすると関数の呼び出しを引き起こす、データデスクリプタを簡潔に組み立てられます。シグネチャ... - https://man.mtool.work/python/3.14/howto/descriptor.html
- デスクリプタ ガイド — Python 3.14.8 ドキュメント 9759
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を
...out how functions turn into bound methods or about the implementation of common tools like @classmethod , @staticmethod , @property , and __slots__ . 入門 ¶ この入門では、なるべく基礎的なところから開始し、新しい要素を一つずつ紹介していきます。 シンプルな...ed throughout the language. It is how functions turn into bound methods. Common tools like @classmethod , @staticmethod , @property , and @functools.cached_property are all implemented as descriptors. 実践的なサンプル ¶ このサンプルでは、発見が極めて難し...ティ、束縛のメソッド、静的メソッド、クラスメソッド、 __slots__ は、全てデスクリプタプロトコルに基づいています。 プロパティ ¶ property() を呼び出すことで、属性へアクセスすると関数の呼び出しを引き起こす、データデスクリプタを簡潔に組み立てられます。シグネチャ... - https://man.mtool.work/python/3.14/howto/descriptor.html
- xml.sax.handler --- SAX ハンドラーの基底クラス — Python 3.14.8 ドキュメント 8985
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.sax.handler --- SAX ハンドラーの基底クラス テーマ 自動 ライト ダーク | xml.sax.handler --- SAX ハンド
...terest to many applications. In addition to these classes, xml.sax.handler provides symbolic constants for the feature and property names. xml.sax.handler. feature_namespaces ¶ 値: "http://xml.org/sax/features/namespaces" 真: 名前空間を処理します。 偽: オ...ing" true: All element names, prefixes, attribute names, Namespace URIs, and local names are interned in a dictionary (see property_interning_dict ). 偽: 名前を必ずしもシンボルに登録しませんが、されるかもしれません (デフォルト)。 アクセス: (パース時) 読み...ased on xml.parsers.expat does not support this feature. xml.sax.handler. all_features ¶ 全機能のリスト。 xml.sax.handler. property_lexical_handler ¶ 値: "http://xml.org/sax/properties/lexical-handler" data type: LexicalHandler 説明: コメントなど字句解析... - https://man.mtool.work/python/3.14/library/xml.sax.handler.html
- xml.sax.handler --- SAX ハンドラーの基底クラス — Python 3.14.8 ドキュメント 8889
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.sax.handler --- SAX ハンドラーの基底クラス テーマ 自動 ライト ダーク | xml.sax.handler --- SAX ハンド
...terest to many applications. In addition to these classes, xml.sax.handler provides symbolic constants for the feature and property names. xml.sax.handler. feature_namespaces ¶ 値: "http://xml.org/sax/features/namespaces" 真: 名前空間を処理します。 偽: オ...ing" true: All element names, prefixes, attribute names, Namespace URIs, and local names are interned in a dictionary (see property_interning_dict ). 偽: 名前を必ずしもシンボルに登録しませんが、されるかもしれません (デフォルト)。 アクセス: (パース時) 読み...ased on xml.parsers.expat does not support this feature. xml.sax.handler. all_features ¶ 全機能のリスト。 xml.sax.handler. property_lexical_handler ¶ 値: "http://xml.org/sax/properties/lexical-handler" data type: LexicalHandler 説明: コメントなど字句解析... - https://man.mtool.work/python/3.14/library/xml.sax.handler.html
- 組み込み関数 — Python 3.14.8 ドキュメント 7412
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま
...s() iter() L len() list() locals() M map() max() memoryview() min() N next() O object() oct() open() ord() P pow() print() property() R range() repr() reversed() round() S set() setattr() slice() sorted() staticmethod() str() sum() super() T tuple() type...てください。クラスメソッドについてより詳しいことは 標準型の階層 を参照してください。 バージョン 3.9 で変更: クラスメソッドは property() など、他の デスクリプタ をラップすることができるようになりました。 バージョン 3.10 で変更: クラスメソッドはメソッド属性...た。また、新たに __wrapped__ 属性を持つようになりました。 バージョン 3.11 で非推奨、バージョン 3.13 で削除: クラスメソッドは property() など、他の デスクリプタ をラップすることができなくなりました。 compile ( source , filename , mode , flags = 0 , dont_inh... - https://man.mtool.work/python/3.14/builtins/functions.html
- 組み込み関数 — Python 3.14.8 ドキュメント 7412
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま
...s() iter() L len() list() locals() M map() max() memoryview() min() N next() O object() oct() open() ord() P pow() print() property() R range() repr() reversed() round() S set() setattr() slice() sorted() staticmethod() str() sum() super() T tuple() type...てください。クラスメソッドについてより詳しいことは 標準型の階層 を参照してください。 バージョン 3.9 で変更: クラスメソッドは property() など、他の デスクリプタ をラップすることができるようになりました。 バージョン 3.10 で変更: クラスメソッドはメソッド属性...た。また、新たに __wrapped__ 属性を持つようになりました。 バージョン 3.11 で非推奨、バージョン 3.13 で削除: クラスメソッドは property() など、他の デスクリプタ をラップすることができなくなりました。 compile ( source , filename , mode , flags = 0 , dont_inh... - https://man.mtool.work/python/3.14/builtins/functions.html