Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 46 for struct (0.003 sec.)
- 7.1. struct --- バイト列をパックされたバイナリデータとして解釈する — Python 3.6... 13379
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...リ » 7. バイナリデータ処理 » 7.1. struct --- バイト列をパックされたバイナリデータとして解釈...する ¶ ソースコード: Lib/struct.py このモジュールは、 Python の値と Python bytes オ...サイズ、アラインメント を参照して下さい。 いくつかの struct の関数 (および Struct のメソッド) は buffer 引数を...ュールは以下の例外と関数を定義しています: exception struct. error ¶ 様々な状況で送出される例外です。引数は何が... - https://man.plustar.jp/python/library/struct.html - [similar]
- タプルオブジェクト (tuple object) — Python 3.6.5 ドキュメント 12860
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...list をクリアします。解放された要素数を返します。 Struct Sequence オブジェクト ¶ struct sequence オブジェク...属性を通してアクセスすることができるシーケンスです。 struct sequence を生成するには、まず特定のstruct sequence...型を生成しなければなりません。 PyTypeObject * PyStructSequence_NewType ( PyStructSequence_Desc *desc ) ¶...後述の desc 中のデータから新しい struct sequence 型を生成します。返される型のインスタンスは... - https://man.plustar.jp/python/c-api/tuple.html - [similar]
- 16.3. time --- 時刻データへのアクセスと変換 — Python 3.6.5 ドキュメント 10862
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ともできます。 これらのオブジェクトについての解説は struct_time を参照してください。 バージョン 3.3 で変更: s..._time オブジェクトは、プラットフォームが、対応する struct tm メンバーをサポートしている場合、 tm_gmtoff およ...拡張されるようになりました。 バージョン 3.6 で変更: struct_time の属性 tm_gmtoff および tm_zone が全てのプラッ...ください: 対象 変換先 関数 エポックからの秒数 UTC の struct_time gmtime() エポックからの秒数 ローカル時間の st... - https://man.plustar.jp/python/library/time.html - [similar]
- デスクリプタオブジェクト (descriptor object) — Python 3.6.5 ドキュメント 10328
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...yObject * PyDescr_NewGetSet ( PyTypeObject *type , struct PyGetSetDef *getset ) ¶ Return value: New referenc...yObject * PyDescr_NewMember ( PyTypeObject *type , struct PyMemberDef *meth ) ¶ Return value: New reference....yObject * PyDescr_NewMethod ( PyTypeObject *type , struct PyMethodDef *meth ) ¶ Return value: New reference....Object * PyDescr_NewWrapper ( PyTypeObject *type , struct wrapperbase *wrapper , void *wrapped ) ¶ Return va... - https://man.plustar.jp/python/c-api/descriptor.html - [similar]
- 3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 9031
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...使われないいくつかのメンバは省いてあります: typedef struct _typeobject { PyObject_VAR_HEAD const char * tp_na.../ /* Methods to implement standard operations */ destructor tp_dealloc ; printfunc tp_print ; getattrfunc tp...; /* Attribute descriptor and subclassing stuff */ struct PyMethodDef * tp_methods ; struct PyMemberDef * tp..._members ; struct PyGetSetDef * tp_getset ; struct _typeobject * tp_... - https://man.plustar.jp/python/extending/newtypes.html - [similar]
- Python 3 への拡張モジュール移植 — Python 3.6.5 ドキュメント 8940
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth
...例で、その方法を実演してみます。 #include "Python.h" struct module_state { PyObject * error ; }; #if PY_MAJOR_...VERSION >= 3 #define GETSTATE(m) ((struct module_state*)PyModule_GetState(m)) #else #define...GETSTATE(m) (&_state) static struct module_state _state ; #endif static PyObject * err...or_out ( PyObject * m ) { struct module_state * st = GETSTATE ( m ); PyErr_SetStrin... - https://man.plustar.jp/python/howto/cporting.html - [similar]
- 2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 8863
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...トリアルでは扱いません。 #include <Python.h> typedef struct { PyObject_HEAD /* Type-specific fields go here. *...tommodule 構造体です。 まず最初はこれです: typedef struct { PyObject_HEAD } CustomObject ; これが Custom オブ...これは Python 標準の浮動小数点数の定義です: typedef struct { PyObject_HEAD double ob_fval ; } PyFloatObject ;...these capabilities: #include <Python.h> #include "structmember.h" typedef struct { PyObject_HEAD PyObject *... - https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
- モジュールのインポート — Python 3.6.5 ドキュメント 8512
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...に、 Unicode オブジェクトを使用する点が異なります。 struct _frozen ¶ freeze ユーティリティが生成するようなフリ...Include/import.h にあり、以下のようになっています: struct _frozen { char * name ; unsigned char * code ; int...size ; }; const struct _frozen * PyImport_FrozenModules ¶ このポインタは...nitialize() よりも前に呼び出さなければなりません。 struct _inittab ¶ 組み込みモジュールリスト内の一つのエント... - https://man.plustar.jp/python/c-api/import.html - [similar]
- 18.1. socket --- 低水準ネットワークインターフェイス — Python 3.6.5 ドキュメント 8512
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...利用されます。 flowinfo と scopeid はそれぞれC言語の struct sockaddr_in6 の sin6_flowinfo と sin6_scope_id メン...して返します。この関数が返す値は、標準Cライブラリの struct in_addr 型を使用する関数に渡す事ができます。 inet_...( '123.45.67.89' など) に変換します。この関数は、 struct in_addr 型を使用する標準 C ライブラリのプログラムと...やりとりする場合に便利です。 struct in_addr 型は、この関数が引数として受け取る 32 ビッ... - https://man.plustar.jp/python/library/socket.html - [similar]
- 超高水準レイヤ — Python 3.6.5 ドキュメント 8421
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...alloc() でメモリ確保したものでなければなりません。 struct _node* PyParser_SimpleParseString ( const char *st...に、 flags を 0 にして単純化したインタフェースです。 struct _node* PyParser_SimpleParseStringFlags ( const cha...ename を NULL にして単純化したインタフェースです。 struct _node* PyParser_SimpleParseStringFlagsFilename ( c...sys.getfilesystemencoding() ) でデコードされます。 struct _node* PyParser_SimpleParseFile ( FILE *fp , const... - https://man.plustar.jp/python/c-api/veryhigh.html - [similar]
