Python 3.6.5 ドキュメント 検索
Results of 51 - 60 of about 213 for return (0.081 sec.)
- 12.1. pickle --- Python オブジェクトの直列化 — Python 3.6.5 ドキュメント 5577
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
この振る舞いの実装を示しています: def save ( obj ): return ( obj . __class__ , obj . __dict__ ) def load ( cl...
w__ ( cls ) obj . __dict__ . update ( attributes ) return obj クラスは、いくつかの特殊メソッドを提供すること...
__new__() method upon unpickling. The method must return a pair (args, kwargs) where args is a tuple of pos...
, but supports only positional arguments. It must return a tuple of arguments args which will be passed to...
- https://man.plustar.jp/python/library/pickle.html - [similar]
- はじめに — Python 3.6.5 ドキュメント 5535
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
, n ; n = PyObject_Length ( target ); if ( n < 0 ) return -1 ; for ( i = 0 ; i < n ; i ++ ) { PyObject * ind...
ex = PyLong_FromSsize_t ( i ); if ( ! index ) return -1 ; if ( PyObject_SetItem ( target , index , item...
) < 0 ) { Py_DECREF ( index ); return -1 ; } Py_DECREF ( index ); } return 0 ; } 関数の戻...
ct * item ; n = PyList_Size ( list ); if ( n < 0 ) return -1 ; /* Not a list */ for ( i = 0 ; i < n ; i ++ )...
- https://man.plustar.jp/python/c-api/intro.html - [similar]
- 超高水準レイヤ — Python 3.6.5 ドキュメント 5535
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
lesystem encoding ( sys.getfilesystemencoding() ). Returns 0 at EOF or a negative number upon failure. int (...
t start , PyObject *globals , PyObject *locals ) ¶ Return value: New reference. 下記の PyRun_StringFlags() の...
ls , PyObject *locals , PyCompilerFlags *flags ) ¶ Return value: New reference. オブジェクトの globals と lo...
t start , PyObject *globals , PyObject *locals ) ¶ Return value: New reference. 下記の PyRun_FileExFlags() の...
- https://man.plustar.jp/python/c-api/veryhigh.html - [similar]
- セルオブジェクト (cell object) — Python 3.6.5 ドキュメント 5504
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
りません。 PyObject * PyCell_New ( PyObject *ob ) ¶ Return value: New reference. 値 ob の入った新たなセルオブ...
ません。 PyObject * PyCell_Get ( PyObject *cell ) ¶ Return value: New reference. cell の内容を返します。 PyOb...
ject * PyCell_GET ( PyObject *cell ) ¶ Return value: Borrowed reference. cell の内容を返しますが...
PyCell , 参照 , 内容 , ドキュメント , reference , Return , 変数 前のトピックへ インスタンスメソッドオブジェ...
- https://man.plustar.jp/python/c-api/cell.html - [similar]
- 18.5.3. タスクとコルーチン — Python 3.6.5 ドキュメント 5504
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
pends the coroutine until the future is done, then returns the future's result, or raises an exception, whic...
ne expression must be a call to another coroutine. return expression -- produce a result to the coroutine th...
not start its code running -- the coroutine object returned by the call doesn't do anything until you schedu...
oroutines, even if they are plain Python functions returning a Future . This is intentional to have a freedo...
- https://man.plustar.jp/python/library/asyncio-task.html - [similar]
- 19.6. base64 --- Base16, Base32, Base64, Base85 データの符号化 — Python 3.6.5 ... 5504
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
instead of / in the standard Base64 alphabet, and return the encoded bytes . The result can still contain =...
instead of / in the standard Base64 alphabet, and return the decoded bytes . base64. b32encode ( s ) ¶ Base...
¶ Encode the bytes-like object b using Ascii85 and return the encoded bytes . foldspaces を使うと、4 つの連続...
85 encoded bytes-like object or ASCII string b and return the decoded bytes . foldspaces は、短い特殊文字 'y...
- https://man.plustar.jp/python/library/base64.html - [similar]
- 17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 5461
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
everal calls to func may be made concurrently. The returned iterator raises a concurrent.futures.TimeoutErro...
b will never complete because it is waiting on a. return 5 def wait_on_a (): time . sleep ( 5 ) print ( a ....
a will never complete because it is waiting on b. return 6 executor = ThreadPoolExecutor ( max_workers = 2...
st . urlopen ( url , timeout = timeout ) as conn : return conn . read () # We can use a with statement to en...
- https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
- 17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 5461
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
です: from multiprocessing import Pool def f ( x ): return x * x if __name__ == '__main__' : with Pool ( 5 )...
, TimeoutError import time import os def f ( x ): return x * x if __name__ == '__main__' : # start 4 worker...
mport Pool >>> p = Pool ( 5 ) >>> def f ( x ): ... return x * x ... >>> p . map ( f , [ 1 , 2 , 3 ]) Process...
てください。 multiprocessing. Pipe ( [ duplex ] ) ¶ Returns a pair (conn1, conn2) of Connection objects repre...
- https://man.plustar.jp/python/library/multiprocessing.html - [similar]
- リストオブジェクト — Python 3.6.5 ドキュメント 5419
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
します。 PyObject * PyList_New ( Py_ssize_t len ) ¶ Return value: New reference. サイズが len 新たなリストオブ...
st_GetItem ( PyObject *list , Py_ssize_t index ) ¶ Return value: Borrowed reference. list の指すリストオブジ...
yList_GET_ITEM ( PyObject *list , Py_ssize_t i ) ¶ Return value: Borrowed reference. マクロ形式でできた PyLi...
bject *list , Py_ssize_t low , Py_ssize_t high ) ¶ Return value: New reference. list 内の、 low から high の...
- https://man.plustar.jp/python/c-api/list.html - [similar]
- What's New in Python 2.2 — Python 3.6.5 ドキュメント 5419
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
ength = 0 , start = 0 , whence = 0 ): import fcntl return fcntl . lockf ( self . fileno (), operation , leng...
ef get_size ( self ): result = ... computation ... return result def set_size ( self , size ): ... compute s...
定義することです: def __getitem__ ( self , index ): return < next item > __getitem__() はもっと相応しい用途、...
を作るプライベートな名前空間ができますね。その関数が return 文まで来ると、ローカル変数が破壊されてから、返り値...
- https://man.plustar.jp/python/whatsnew/2.2.html - [similar]