Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 213 for return (0.040 sec.)
1. C や C++ による Python の拡張 — Python 3.6.5 ドキュメント 6706
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... a null-terminated character string as argument and returns an integer. We want this function to be callable ... f ( ! PyArg_ParseTuple ( args , "s" , & command )) return NULL ; sts = system ( command ); return PyLong_Fro ... PyModule_Create ( & spammodule ); if ( m == NULL ) return NULL ; SpamError = PyErr_NewException ( "spam.erro ... ); PyModule_AddObject ( m , "error" , SpamError ); return m ; } Python レベルでの例外オブジェクトの名前は sp ...
https://man.plustar.jp/python/extending/extending.html - [similar]
辞書オブジェクト (dictionary object) — Python 3.6.5 ドキュメント 6505
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... ない場合に真を返します。 PyObject * PyDict_New ( ) ¶ Return value: New reference. 空の新たな辞書を返します。失 ... PyObject * PyDictProxy_New ( PyObject *mapping ) ¶ Return value: New reference. あるマップ型オブジェクトに対 ... 等価です。 PyObject * PyDict_Copy ( PyObject *p ) ¶ Return value: New reference. p と同じキーと値のペアが入っ ... * PyDict_GetItem ( PyObject *p , PyObject *key ) ¶ Return value: Borrowed reference. 辞書 p 内で key をキーと ...
https://man.plustar.jp/python/c-api/dict.html - [similar]
Function オブジェクト — Python 3.6.5 ドキュメント 6421
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... ction_New ( PyObject *code , PyObject *globals ) ¶ Return value: New reference. コードオブジェクト code に関 ... *code , PyObject *globals , PyObject *qualname ) ¶ Return value: New reference. PyFunction_New() に似ています ... . PyObject * PyFunction_GetCode ( PyObject *op ) ¶ Return value: Borrowed reference. 関数オブジェクト op に関 ... yObject * PyFunction_GetGlobals ( PyObject *op ) ¶ Return value: Borrowed reference. 関数オブジェクト op に関 ...
https://man.plustar.jp/python/c-api/function.html - [similar]
10.2. functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.6.5 ド... 6421
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ith urllib . request . urlopen ( resource ) as s : return s . read () except urllib . error . HTTPError : re ... cache ( maxsize = None ) def fib ( n ): if n < 2 : return n return fib ( n - 1 ) + fib ( n - 2 ) >>> [ fib ( ... Student : def _is_valid_operand ( self , other ): return ( hasattr ( other , "lastname" ) and hasattr ( oth ... ther ): if not self . _is_valid_operand ( other ): return NotImplemented return (( self . lastname . lower ( ...
https://man.plustar.jp/python/library/functools.html - [similar]
21.24. http.cookiejar --- HTTP クライアント用の Cookie 処理 — Python 3.6.5 ドキ... 6421
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... or similar) should support an info() method, which returns an email.message.Message instance. The request ob ... ーフェイスを実装するオブジェクトです。 CookiePolicy. return_ok ( cookie , request ) ¶ クッキーがサーバに返され ... スを実装するオブジェクトです。 CookiePolicy. domain_return_ok ( domain , request ) ¶ 与えられたクッキーのドメ ... を伴なう場合があります) 必要がなくなります。 domain_return_ok() および path_return_ok() の両方から true が返さ ...
https://man.plustar.jp/python/library/http.cookiejar.html - [similar]
26.1. typing --- 型ヒントのサポート — Python 3.6.5 ドキュメント 6421
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... がつけられます: def greeting ( name : str ) -> str : return 'Hello ' + name 関数 greeting で、実引数 name の型 ... e ( scalar : float , vector : Vector ) -> Vector : return [ scalar * num for num in vector ] # typechecks; a ... るフレームワークでは Callable[[Arg1Type, Arg2Type], ReturnType] のように使って型ヒントを与えられます。 例えば ... の戻り値の型を宣言することができます: Callable[..., ReturnType] 。 26.1.4. ジェネリクス ¶ コンテナ内のオブジェ ...
https://man.plustar.jp/python/library/typing.html - [similar]
オブジェクトプロトコル (object protocol) — Python 3.6.5 ドキュメント 6379
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 使われる、 未実装 (NotImplemented) シングルトン。 Py_RETURN_NOTIMPLEMENTED ¶ C 関数から Py_NotImplemented を返 ... ct_GetAttr ( PyObject *o , PyObject *attr_name ) ¶ Return value: New reference. オブジェクト o から、名前 at ... trString ( PyObject *o , const char *attr_name ) ¶ Return value: New reference. オブジェクト o から、名前 at ... mpare ( PyObject *o1 , PyObject *o2 , int opid ) ¶ Return value: New reference. o1 と o2 を opid に指定した演 ...
https://man.plustar.jp/python/c-api/object.html - [similar]
3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 6305
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... t * newdatatype_repr ( newdatatypeobject * obj ) { return PyUnicode_FromFormat ( "Repr-ified_newdatatype{{si ... ct * newdatatype_str ( newdatatypeobject * obj ) { return PyUnicode_FromFormat ( "Stringified_newdatatype{{s ... * name ) { if ( strcmp ( name , "data" ) == 0 ) { return PyLong_FromLong ( obj -> data ); } PyErr_Format ( ... s no attribute '%.400s'" , tp -> tp_name , name ); return NULL ; } tp_setattr ハンドラは、クラスのインスタン ...
https://man.plustar.jp/python/extending/newtypes.html - [similar]
29.1. sys --- システムパラメータと関数 — Python 3.6.5 ドキュメント 6178
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ード: def displayhook ( value ): if value is None : return # Set '_' to None to avoid recursion builtins . _ ... バージョン 3.1 で追加. sys. getallocatedblocks ( ) ¶ Return the number of memory blocks currently allocated by ... is information, getallocatedblocks() is allowed to return 0 instead. バージョン 3.4 で追加. sys. getcheckint ... コーディング名を返します。 sys. getdlopenflags ( ) ¶ Return the current value of the flags that are used for d ...
https://man.plustar.jp/python/library/sys.html - [similar]
整数型オブジェクト (integer object) — Python 3.6.5 ドキュメント 6105
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... として実装されます。 On error, most PyLong_As* APIs return (return type)-1 which cannot be distinguished from ... を返します。 PyObject * PyLong_FromLong ( long v ) ¶ Return value: New reference. v から新たな PyLongObject オ ... ct * PyLong_FromUnsignedLong ( unsigned long v ) ¶ Return value: New reference. Cの unsigned long から新たな ... 。 PyObject * PyLong_FromLongLong ( long long v ) ¶ Return value: New reference. C の long long 型から新たな ...
https://man.plustar.jp/python/c-api/long.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT