Results of 1 - 3 of about 3 for reprfunc (0.004 sec.)
- 型オブジェクトの構造体 11273
- 型オブジェクトの構造体 新しい型を定義する PyTypeObject 構造体は、Python のオブジェクトシステムで特に重要な構造体の 1 つです。 型オブジェクトは PyObject_* 関数や PyType_* 関数で扱えますが、ほとんどの Python アプリケーションにとって関心のある
...te__, __getattr__ G ( tp_setattr ) setattrfunc __setattr__, __delattr__ G tp_as_async PyAsyncMethods * sub-slots % tp_repr reprfunc __repr__ X X X tp_as_number PyNumberMethods * sub-slots % tp_as_sequence PySequenceMethods * sub-slots % tp_as_mapping PyM...appingMethods * sub-slots % tp_hash hashfunc __hash__ X G tp_call ternaryfunc __call__ X X tp_str reprfunc __str__ X X tp_getattro getattrofunc __getattribute__, __getattr__ X X G tp_setattro setattrofunc __setattr__, __delattr__...visitproc void * int newfunc PyTypeObject * PyObject * PyObject * PyObject * initproc PyObject * PyObject * PyObject * int reprfunc PyObject * PyObject * getattrfunc PyObject * const char * PyObject * setattrfunc PyObject * const char * PyObject * int ge... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- 3. 拡張の型の定義: 雑多なトピック 9784
- 3. 拡張の型の定義: 雑多なトピック この節ではさまざまな実装可能なタイプメソッドと、それらが何をするものであるかについて、ざっと説明します。 以下は PyTypeObject の定義です。 デバッグビルド でしか使われないいくつかのメンバは省いてあります: typ
...ttrfunc tp_setattr ; PyAsyncMethods * tp_as_async ; /* 以前の名前は tp_compare (Python 2) または tp_reserved (Python 3) */ reprfunc tp_repr ; /* 標準クラス用のメソッド群 */ PyNumberMethods * tp_as_number ; PySequenceMethods * tp_as_sequence ; PyMappingMe...s * tp_as_mapping ; /* その他の標準の操作 (バイナリ互換性のためこの位置に配置) */ hashfunc tp_hash ; ternaryfunc tp_call ; reprfunc tp_str ; getattrofunc tp_getattro ; setattrofunc tp_setattro ; /* オブジェクトを入出力バッファとして扱う関数 */ PyBufferPr...う方法と、 str() 関数を使う方法です。 ( print() 関数は単に str() を呼び出します。) これらのハンドラはどちらも省略できます。 reprfunc tp_repr ; reprfunc tp_str ; tp_repr ハンドラは呼び出されたインスタンスの文字列表現を格納した文字列オブジェクトを返す必要が... - https://man.mtool.work/python/3.14/extending/newtypes.html
- C API Stability 6808
- C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修
...rproc getiterfunc getter hashfunc initproc inquiry iternextfunc lenfunc newfunc objobjargproc objobjproc releasebufferproc reprfunc richcmpfunc setattrfunc setattrofunc setter ssizeargfunc ssizeobjargproc ssizessizeargfunc ssizessizeobjargproc symtable t... - https://man.mtool.work/python/3.14/c-api/stable.html
PREV
1
NEXT