Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 163 for TYPE (0.041 sec.)
デスクリプタオブジェクト (descriptor object) — Python 3.6.5 ドキュメント 7501
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... タオブジェクトは型オブジェクトの辞書内にあります。 PyTypeObject PyProperty_Type ¶ 組み込みデスクリプタ型の型 ... オブジェクトです。 PyObject * PyDescr_NewGetSet ( PyTypeObject *type , struct PyGetSetDef *getset ) ¶ Retur ... e: New reference. PyObject * PyDescr_NewMember ( PyTypeObject *type , struct PyMemberDef *meth ) ¶ Return ... e: New reference. PyObject * PyDescr_NewMethod ( PyTypeObject *type , struct PyMethodDef *meth ) ¶ Return ...
https://man.plustar.jp/python/c-api/descriptor.html - [similar]
例外処理 — Python 3.6.5 ドキュメント 7330
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... ょう!) set_sys_last_vars が非ゼロであれば、 sys.last_type , sys.last_value , sys.last_traceback 変数が、表示 ... インタを返します。 void PyErr_SetString ( PyObject *type , const char *message ) ¶ これはエラーインジケータ ... デコードされます。 void PyErr_SetObject ( PyObject *type , PyObject *value ) ¶ この関数は PyErr_SetString() ... ージョン 3.5 で追加. void PyErr_SetNone ( PyObject *type ) ¶ これは PyErr_SetObject(type, Py_None) を省略し ...
https://man.plustar.jp/python/c-api/exceptions.html - [similar]
19.1.8. email: 使用例 — Python 3.6.5 ドキュメント 7296
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... g function import smtplib # And imghdr to find the types of our images import imghdr # Here are the email ... inary mode. Use imghdr to figure out the # MIME subtype for each specific image. for file in pngfiles : wi ... fp . read () msg . add_attachment ( img_data , maintype = 'image' , subtype = imghdr . what ( None , img_d ... e.""" import os import smtplib # For guessing MIME type based on file name extension import mimetypes from ...
https://man.plustar.jp/python/library/email.examples.html - [similar]
デスクリプタ HowTo ガイド — Python 3.6.5 ドキュメント 7204
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » デス ... です。例えば a.x は、まず a.__dict__['x'] 、それから type(a).__dict__['x'] 、さらに type(a) のメタクラスを除 ... デスクリプタプロトコル ¶ descr.__get__(self, obj, type=None) --> value descr.__set__(self, obj, value) -- ... スかに依ります。 オブジェクトでは、その機構は b.x を type(b).__dict__['x'].__get__(b, type(b)) に変換する ob ... B.x を B.__dict__['x'].__get__(None, B) に変換する type.__getattribute__() にあります。 pure Python では、 ...
https://man.plustar.jp/python/howto/descriptor.html - [similar]
36.1. optparse --- コマンドラインオプション解析器 — Python 3.6.5 ドキュメント 7170
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ルの節では、最も重要な四つのオプション属性: action , type , dest (destination), help についてしか触れません。 ... add_option ( "-f" , "--file" , action = "store" , type = "string" , dest = "filename" ) 例えば、以下のよう ... をサポートしています: parser . add_option ( "-n" , type = "int" , dest = "num" ) このオプションには長い形式 ... 理されます。すなわち、例外( optparse.OptionError や TypeError ) を送出して、プログラムをクラッシュさせます。 ...
https://man.plustar.jp/python/library/optparse.html - [similar]
32.7. tokenize --- Pythonソースのためのトークナイザ — Python 3.6.5 ドキュメント 7044
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... d Ellipsis are returned using the generic OP token type. The exact type can be determined by checking the ... exact_type property on the named tuple returned from tokenize ... のタプルは named tuple として返され、フィールド名は type string start end line になります。 The returned na ... med tuple has an additional property named exact_type that contains the exact operator type for token.OP ...
https://man.plustar.jp/python/library/tokenize.html - [similar]
Argparse チュートリアル — Python 3.6.5 ドキュメント 6999
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argp ... e prog.py pypy rm-unused-function.patch $ ls pypy ctypes_configure demo dotviewer include lib_pypy lib-pyt ... rog.py", line 5, in <module> print(args.square**2) TypeError: unsupported operand type(s) for ** or pow(): ... e" , help = "display a square of a given number" , type = int ) args = parser . parse_args () print ( args ... gumentParser () parser . add_argument ( "square" , type = int , help = "display a square of a given number ...
https://man.plustar.jp/python/howto/argparse.html - [similar]
3. データモデル — Python 3.6.5 ドキュメント 6953
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... トするか) と、オブジェクトが取りうる値を決定します。 type() 関数はオブジェクトの型 (型自体もオブジェクトです ... ) を返します。同一性と同じく、オブジェクトの型( type ) も変更不可能です。 [1] オブジェクトによっては 値 ... グ型の例を提供しています。 呼び出し可能型 (callable type) 関数呼び出し操作 ( 呼び出し (call) 参照) を行うこ ... ドオブジェクトから得られます; 後述の内部型 (internal type) に関する説明を参照してください。 インスタンスメソ ...
https://man.plustar.jp/python/reference/datamodel.html - [similar]
3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 6827
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... の拡張と埋め込み » 3. Defining Extension Types: Assorted Topics ¶ この節ではさまざまな実装可能な ... るものであるかについて、ざっと説明します。 以下は PyTypeObject の定義です。デバッグビルドでしか使われないい ... くつかのメンバは省いてあります: typedef struct _typeobject { PyObject_VAR_HEAD const ch ... members ; struct PyGetSetDef * tp_getset ; struct _typeobject * tp_base ; PyObject * tp_dict ; descrgetfun ...
https://man.plustar.jp/python/extending/newtypes.html - [similar]
型オブジェクト — Python 3.6.5 ドキュメント 6748
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 型オブジェクト ¶ 新スタイルの型を定義する構造体: PyTypeObject 構造体は、おそらく Python オブジェクトシステ ... の1つでしょう。型オブジェクトは PyObject_*() 系や PyType_*() 系の関数で扱えますが、ほとんどの Python アプリ ... 重要な存在です。 型オブジェクトは標準の型 (standard type) に比べるとかなり大きな構造体です。各型オブジェクト ... ールドは、構造体内で出現する順番に説明されています。 Typedefs: unaryfunc, binaryfunc, ternaryfunc, inquiry, ...
https://man.plustar.jp/python/c-api/typeobj.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT