Results of 1 - 10 of about 39 for DelAttr (0.009 sec.)
- オブジェクトプロトコル (object protocol) — Python 3.14.8 ドキュメント 14237
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » オブジェクトプロトコル (object protocol) テーマ 自動 ライト ダーク | オブジェク
...す。 この関数は Python の式 o.attr_name = v と同じです。 v が NULL のとき、アトリビュートは削除されます。この動作は PyObject_DelAttr() のため、非推奨となっていますが、削除される予定はありません。 int PyObject_SetAttrString ( PyObject * o , const char * at...8 encoded bytes string, rather than a PyObject * . v が NULL の場合は属性が削除されますが、この機能は非推奨であり PyObject_DelAttrString() を使うのが望ましいです。 The number of different attribute names passed to this function should be kept small, usu...を設定もしくは削除します。 成功すると 0 が返され、そうでない場合は AttributeError が送出され -1 が返されます。 int PyObject_DelAttr ( PyObject * o , PyObject * attr_name ) ¶ 次に属します: Stable ABI (バージョン 3.13 より). オブジェクト o の attr_name とい... - https://man.mtool.work/python/3.14/c-api/object.html
- オブジェクトプロトコル (object protocol) — Python 3.14.8 ドキュメント 12389
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » オブジェクトプロトコル (object protocol) テーマ 自動 ライト ダーク | オブジェク
...す。 この関数は Python の式 o.attr_name = v と同じです。 v が NULL のとき、アトリビュートは削除されます。この動作は PyObject_DelAttr() のため、非推奨となっていますが、削除される予定はありません。 int PyObject_SetAttrString ( PyObject * o , const char * at...8 encoded bytes string, rather than a PyObject * . v が NULL の場合は属性が削除されますが、この機能は非推奨であり PyObject_DelAttrString() を使うのが望ましいです。 The number of different attribute names passed to this function should be kept small, usu...を設定もしくは削除します。 成功すると 0 が返され、そうでない場合は AttributeError が送出され -1 が返されます。 int PyObject_DelAttr ( PyObject * o , PyObject * attr_name ) ¶ 次に属します: Stable ABI (バージョン 3.13 より). オブジェクト o の attr_name とい... - https://man.mtool.work/python/3.14/c-api/object.html
- dataclasses --- データクラス — Python 3.14.8 ドキュメント 10540
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L
...elds will generate an exception. This emulates read-only frozen instances. See the discussion below. If __setattr__() or __delattr__() is defined in the class and frozen is true, then TypeError is raised. match_args : If true (the default is True ), the...n dataclasses. FrozenInstanceError ¶ frozen=True 付きで定義されたデータクラスで、暗黙的に定義された __setattr__() または __delattr__() が呼び出されたときに送出されます。これは AttributeError のサブクラスです。 初期化後の処理 ¶ dataclasses. __post_init__...ozen=True to the @dataclass decorator you can emulate immutability. In that case, dataclasses will add __setattr__() and __delattr__() methods to the class. These methods will raise a FrozenInstanceError when invoked. There is a tiny performance penalty... - https://man.mtool.work/python/3.14/library/dataclasses.html
- dataclasses --- データクラス — Python 3.14.8 ドキュメント 10540
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L
...elds will generate an exception. This emulates read-only frozen instances. See the discussion below. If __setattr__() or __delattr__() is defined in the class and frozen is true, then TypeError is raised. match_args : If true (the default is True ), the...n dataclasses. FrozenInstanceError ¶ frozen=True 付きで定義されたデータクラスで、暗黙的に定義された __setattr__() または __delattr__() が呼び出されたときに送出されます。これは AttributeError のサブクラスです。 初期化後の処理 ¶ dataclasses. __post_init__...ozen=True to the @dataclass decorator you can emulate immutability. In that case, dataclasses will add __setattr__() and __delattr__() methods to the class. These methods will raise a FrozenInstanceError when invoked. There is a tiny performance penalty... - https://man.mtool.work/python/3.14/library/dataclasses.html
- 組み込み関数 — Python 3.14.8 ドキュメント 8081
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま
...ext() any() ascii() B bin() bool() breakpoint() bytearray() bytes() C callable() chr() classmethod() compile() complex() D delattr() dict() dir() divmod() E enumerate() eval() exec() F filter() float() format() frozenset() G getattr() globals() H hasatt....14 で非推奨: 複素数を real 引数または imag 引数として渡せる機能は非推奨となりました。単一の位置引数として渡してください。 delattr ( object , name , / ) ¶ setattr() の親戚です。引数はオブジェクトと文字列です。文字列はオブジェクトの属性名のいずれかでなけ...ればなりません。対象のオブジェクトが許可する場合に限り、この関数は指定された名前の属性を削除します。たとえば、 delattr(x, 'foobar') は del x.foobar と等価です。 name は Python の識別子である必要はありません ( setattr() を参照してください)。... - https://man.mtool.work/python/3.14/builtins/functions.html
- シーケンス型プロトコル (sequence protocol) — Python 3.14.8 ドキュメント 8081
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » シーケンス型プロトコル (sequence protocol) テーマ 自動 ライト ダーク | シーケン
...nction does not " steal " a reference to v . v が NULL の場合はその要素が削除されますが、この機能は非推奨であり、 PyObject_DelAttr() を使うのが望ましいです。 int PySequence_DelItem ( PyObject * o , Py_ssize_t i ) ¶ 次に属します: Stable ABI . o の i 番目... - https://man.mtool.work/python/3.14/c-api/sequence.html
- 索引 — Python 3.14.8 ドキュメント 8081
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – B b" バイト列リテラル b' バイト列リテラル b16decode() (base64 モジュール) b16encode() (base64 モジュール) b2a_base64() (binascii モジュ
...unction __import__() abs() aiter() all() anext() any() ascii() bin() breakpoint() callable() chr() classmethod() compile() delattr() dir() divmod() enumerate() eval() exec() filter() format() getattr() globals() hasattr() hash() help() hex() id() input(... - https://man.mtool.work/python/3.14/genindex-B.html
- デスクリプタ ガイド — Python 3.14.8 ドキュメント 8081
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を
...ibuteError ( f ' { cls . __name__ !r} object has no attribute { name !r} ' ) super () . __setattr__ ( name , value ) def __delattr__ ( self , name ): 'Emulate _PyObject_GenericSetAttrWithDict() Objects/object.c' cls = type ( self ) if hasattr ( cls , 's...in cls . slot_names : raise AttributeError ( f ' { cls . __name__ !r} object has no attribute { name !r} ' ) super () . __delattr__ ( name ) To use the simulation in a real class, just inherit from Object and set the metaclass to Type : class H ( Objec... - https://man.mtool.work/python/3.14/howto/descriptor.html
- 監査イベント表 — Python 3.14.8 ドキュメント 8081
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » 監査イベント表 テーマ 自動 ライト ダーク | 監査イベント表 ¶ この表は、 CPython ランタイムと標準ライブラリ
...et [1] msvcrt.get_osfhandle fd [1] msvcrt.locking fd , mode , nbytes [1] msvcrt.open_osfhandle handle , flags [1] object.__delattr__ obj , name [1] object.__getattr__ obj , name [1] object.__setattr__ obj , name , value [1] open path , mode , flags [1]... - https://man.mtool.work/python/3.14/library/audit_events.html
- 組み込み関数 — Python 3.14.8 ドキュメント 8081
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま
...ext() any() ascii() B bin() bool() breakpoint() bytearray() bytes() C callable() chr() classmethod() compile() complex() D delattr() dict() dir() divmod() E enumerate() eval() exec() F filter() float() format() frozenset() G getattr() globals() H hasatt....14 で非推奨: 複素数を real 引数または imag 引数として渡せる機能は非推奨となりました。単一の位置引数として渡してください。 delattr ( object , name , / ) ¶ setattr() の親戚です。引数はオブジェクトと文字列です。文字列はオブジェクトの属性名のいずれかでなけ...ればなりません。対象のオブジェクトが許可する場合に限り、この関数は指定された名前の属性を削除します。たとえば、 delattr(x, 'foobar') は del x.foobar と等価です。 name は Python の識別子である必要はありません ( setattr() を参照してください)。... - https://man.mtool.work/python/3.14/builtins/functions.html