Python 3.6.5 ドキュメント 検索
Results of 1 - 9 of about 9 for PyType (0.006 sec.)
- 型オブジェクト — Python 3.6.5 ドキュメント 13661
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...ジェクト (concrete object) レイヤ » 型オブジェクト ¶ PyTypeObject ¶ 組み込み型を記述する際に用いられる、オブジ...ェクトを表す C 構造体です。 PyObject * PyType_Type ¶ 型オブジェクト自身の型オブジェクトです; Pyt...n レイヤにおける type と同じオブジェクトです。 int PyType_Check ( PyObject *o ) ¶ オブジェクト o が型オブジェ...タンスも含みます。その他の場合には偽を返します。 int PyType_CheckExact ( PyObject *o ) ¶ オブジェクト o が型オ... - https://man.plustar.jp/python/c-api/type.html - [similar]
- 2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 9868
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...はほとんどの場面で十分なものなのです。 C API では、 PyType_FromSpec() 関数を使い、ヒープ上に配置された拡張の型...pecific fields go here. */ } CustomObject ; static PyTypeObject CustomType = { PyVarObject_HEAD_INIT ( NULL...= 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_new = PyType_GenericNew , }; static PyModuleDef custommodule =..._FUNC PyInit_custom ( void ) { PyObject * m ; if ( PyType_Ready ( & CustomType ) < 0 ) return NULL ; m = PyM... - https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
- 型オブジェクト — Python 3.6.5 ドキュメント 9436
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...» 型オブジェクト ¶ 新スタイルの型を定義する構造体: PyTypeObject 構造体は、おそらく Python オブジェクトシステ...体の1つでしょう。型オブジェクトは PyObject_*() 系や PyType_*() 系の関数で扱えますが、ほとんどの Python アプリ...ttrfunc, setattrofunc, cmpfunc, reprfunc, hashfunc PyTypeObject の構造体定義は Include/object.h で見つけられ...ed int tp_version_tag ; destructor tp_finalize ; } PyTypeObject ; 型オブジェクト構造体は PyVarObject 構造体を... - https://man.plustar.jp/python/c-api/typeobj.html - [similar]
- 3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 8124
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...するものであるかについて、ざっと説明します。 以下は PyTypeObject の定義です。デバッグビルドでしか使われないい...ed int tp_version_tag ; destructor tp_finalize ; } PyTypeObject ; たくさんの メソッドがありますね。でもそんな...のでしょうか? それが満たすべき条件はごくわずかです: PyType_Ready() が呼ばれたとき、すでに属性の名前がわかって...なんら制約を課すものではないことに注意してください。 PyType_Ready() が呼ばれると、これはそのタイプオブジェクト... - https://man.plustar.jp/python/extending/newtypes.html - [similar]
- モジュールオブジェクト (module object) — Python 3.6.5 ドキュメント 8016
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...レイヤ » モジュールオブジェクト (module object) ¶ PyTypeObject PyModule_Type ¶ この PyTypeObject のインスタ...取得できる) 全ての状態や、(モジュールの __dict__ や PyType_FromSpec() で生成された個々のクラスのような) モジュ... - https://man.plustar.jp/python/c-api/module.html - [similar]
- Python 2 から Python 3 への移植 — Python 3.6.5 ドキュメント 7962
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth
...code is to use a static type checker like mypy or pytype on your code. These tools can be used to analyze y... - https://man.plustar.jp/python/howto/pyporting.html - [similar]
- 1. C や C++ による Python の拡張 — Python 3.6.5 ドキュメント 7909
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...います。 特定のオブジェクト型について調べるマクロ ( Pytype_Check() ) は NULL ポインタのチェックを行いません -... - https://man.plustar.jp/python/extending/extending.html - [similar]
- What's New In Python 3.4 — Python 3.6.5 ドキュメント 7909
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...arry Hastings. その他のビルド並びに C API の変更 ¶ PyType_GetSlot() 関数が、安定 ABI に追加されました。これに... - https://man.plustar.jp/python/whatsnew/3.4.html - [similar]
- What's New In Python 3.6 — Python 3.6.5 ドキュメント 7909
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...Tools that use or will use the new syntax: mypy , pytype , PyCharm, etc. PEP 515: 数値リテラル内のアンダース... - https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
PREV
1
NEXT
