per page, with , order by , clip by
Results of 1 - 10 of about 58 for staticmethod (0.008 sec.)
abc --- 抽象基底クラス — Python 3.14.8 ドキュメント 14402
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » abc --- 抽象基底クラス テーマ 自動 ライト ダーク | abc --- 抽象基底クラス ¶ ソースコード: Lib/abc.py こ ... def my_abstract_method ( self , arg1 ): ... @classmethod @abstractmethod def my_abstract_classmethod ( cls , arg2 ): ... @staticmethod @abstractmethod def my_abstract_staticmethod ( arg3 ): ... @property @abstractmethod def my_abstract_property ( self ): .. ... stract method: class C ( ABC ): @classmethod @abstractmethod def my_abstract_classmethod ( cls , arg ): ... @ abc. abstractstaticmethod ¶ Added in version 3.2. バージョン 3.3 で非推奨: It is now possible to use @staticmethod with @abstractmethod , making thi ... s decorator redundant. A subclass of the built-in staticmethod , indicating an abstract staticmethod. Otherwise it is similar to @abstractmethod . This special case is deprecated, as th ...
https://man.mtool.work/python/3.14/library/abc.html
abc --- 抽象基底クラス — Python 3.14.8 ドキュメント 14402
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » abc --- 抽象基底クラス テーマ 自動 ライト ダーク | abc --- 抽象基底クラス ¶ ソースコード: Lib/abc.py こ ... def my_abstract_method ( self , arg1 ): ... @classmethod @abstractmethod def my_abstract_classmethod ( cls , arg2 ): ... @staticmethod @abstractmethod def my_abstract_staticmethod ( arg3 ): ... @property @abstractmethod def my_abstract_property ( self ): .. ... stract method: class C ( ABC ): @classmethod @abstractmethod def my_abstract_classmethod ( cls , arg ): ... @ abc. abstractstaticmethod ¶ Added in version 3.2. バージョン 3.3 で非推奨: It is now possible to use @staticmethod with @abstractmethod , making thi ... s decorator redundant. A subclass of the built-in staticmethod , indicating an abstract staticmethod. Otherwise it is similar to @abstractmethod . This special case is deprecated, as th ...
https://man.mtool.work/python/3.14/library/abc.html
デスクリプタオブジェクト (descriptor object) — Python 3.14.8 ドキュメント 8635
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » デスクリプタオブジェクト (descriptor object) テーマ 自動 ライト ダーク | デスクリプタ ... g reference to a new class method descriptor. On failure, this function returns NULL with an exception set. PyTypeObject PyStaticMethod_Type ¶ The type of static method objects. This is the same object as staticmethod in the Python layer. PyObject * PyStatic ... Method_New ( PyObject * callable ) ¶ Create a new staticmethod object wrapping callable . callable must be a callable object and must not be NULL . On success, this function returns a s ... trong reference to a new static method descriptor. On failure, this function returns NULL with an exception set. 関連キーワード type descriptor object Python ob ...
https://man.mtool.work/python/3.14/c-api/descriptor.html
デスクリプタ ガイド — Python 3.14.8 ドキュメント 8635
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を ... ou're curious about how functions turn into bound methods or about the implementation of common tools like @classmethod , @staticmethod , @property , and __slots__ . 入門 ¶ この入門では、なるべく基礎的なところから開始し、新しい要素を一つずつ紹介していきます。 ... scriptors are used 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. 実践的なサンプル ¶ このサンプルでは、発見 ... いるかに依ります。 Descriptors are a powerful, general purpose protocol. They are the mechanism behind properties, methods, static methods, class methods, and super() . They are used throughout Python itself. Descriptors simplify the underlying C code and off ...
https://man.mtool.work/python/3.14/howto/descriptor.html
デスクリプタオブジェクト (descriptor object) — Python 3.14.8 ドキュメント 8635
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » デスクリプタオブジェクト (descriptor object) テーマ 自動 ライト ダーク | デスクリプタ ... g reference to a new class method descriptor. On failure, this function returns NULL with an exception set. PyTypeObject PyStaticMethod_Type ¶ The type of static method objects. This is the same object as staticmethod in the Python layer. PyObject * PyStatic ... Method_New ( PyObject * callable ) ¶ Create a new staticmethod object wrapping callable . callable must be a callable object and must not be NULL . On success, this function returns a s ... trong reference to a new static method descriptor. On failure, this function returns NULL with an exception set. 関連キーワード type descriptor objects PyTypeOb ...
https://man.mtool.work/python/3.14/c-api/descriptor.html
デスクリプタ ガイド — Python 3.14.8 ドキュメント 8635
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を ... ou're curious about how functions turn into bound methods or about the implementation of common tools like @classmethod , @staticmethod , @property , and __slots__ . 入門 ¶ この入門では、なるべく基礎的なところから開始し、新しい要素を一つずつ紹介していきます。 ... scriptors are used 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. 実践的なサンプル ¶ このサンプルでは、発見 ... いるかに依ります。 Descriptors are a powerful, general purpose protocol. They are the mechanism behind properties, methods, static methods, class methods, and super() . They are used throughout Python itself. Descriptors simplify the underlying C code and off ...
https://man.mtool.work/python/3.14/howto/descriptor.html
組み込み関数 — Python 3.14.8 ドキュメント 8430
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま ... ect() oct() open() ord() P pow() print() property() R range() repr() reversed() round() S set() setattr() slice() sorted() staticmethod() str() sum() super() T tuple() type() V vars() Z zip() _ __import__() abs ( number , / ) ¶ 数の絶対値を返します。引数は整 ... ェクトが暗黙の第一引数として渡されます。 クラスメソッドは C++ や Java の静的メソッドとは異なります。静的メソッドは、この節の staticmethod() を参照してください。クラスメソッドについてより詳しいことは 標準型の階層 を参照してください。 バージョン 3.9 で変更: クラ ... 型混合の比較での混乱を避けることにも役立ちます。 ソートの例と簡単なチュートリアルは ソートのテクニック を参照して下さい。 @ staticmethod ¶ メソッドを静的メソッドへ変換します。 静的メソッドは暗黙の第一引数を受け取りません。静的メソッドを宣言するには、このイディ ...
https://man.mtool.work/python/3.14/builtins/functions.html
組み込み関数 — Python 3.14.8 ドキュメント 8430
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま ... ect() oct() open() ord() P pow() print() property() R range() repr() reversed() round() S set() setattr() slice() sorted() staticmethod() str() sum() super() T tuple() type() V vars() Z zip() _ __import__() abs ( number , / ) ¶ 数の絶対値を返します。引数は整 ... ェクトが暗黙の第一引数として渡されます。 クラスメソッドは C++ や Java の静的メソッドとは異なります。静的メソッドは、この節の staticmethod() を参照してください。クラスメソッドについてより詳しいことは 標準型の階層 を参照してください。 バージョン 3.9 で変更: クラ ... 型混合の比較での混乱を避けることにも役立ちます。 ソートの例と簡単なチュートリアルは ソートのテクニック を参照して下さい。 @ staticmethod ¶ メソッドを静的メソッドへ変換します。 静的メソッドは暗黙の第一引数を受け取りません。静的メソッドを宣言するには、このイディ ...
https://man.mtool.work/python/3.14/builtins/functions.html
logging.config --- ログ記録の環境設定 — Python 3.14.8 ドキュメント 7611
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » logging.config --- ログ記録の環境設定 テーマ 自動 ライト ダーク | logging.config --- ログ記録 ... ます。インポートを行うために Python callable を使用していて、それをインスタンスレベルではなくクラスレベルで定義したければ、 staticmethod() でそれをラップする必要があります。例えば: from importlib import import_module from logging.config import BaseConfigurato ... r BaseConfigurator . importer = staticmethod ( import_module ) configurator インスタンス に対してインポート callable をセットする場合は、 staticmethod() でラップする必 ...
https://man.mtool.work/python/3.14/library/logging.config.html
logging.config --- ログ記録の環境設定 — Python 3.14.8 ドキュメント 7611
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » logging.config --- ログ記録の環境設定 テーマ 自動 ライト ダーク | logging.config --- ログ記録 ... ます。インポートを行うために Python callable を使用していて、それをインスタンスレベルではなくクラスレベルで定義したければ、 staticmethod() でそれをラップする必要があります。例えば: from importlib import import_module from logging.config import BaseConfigurato ... r BaseConfigurator . importer = staticmethod ( import_module ) configurator インスタンス に対してインポート callable をセットする場合は、 staticmethod() でラップする必 ...
https://man.mtool.work/python/3.14/library/logging.config.html
PREV 1 2 3 4 5 6 NEXT