Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 131 - 140 of about 213 for Return (0.156 sec.)
9. クラス — Python 3.6.5 ドキュメント 4734
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... simple example class""" i = 12345 def f ( self ): return 'hello world' MyClass.i と MyClass.f は妥当な属性参 ... defined outside the class def f1 ( self , x , y ): return min ( x , x + y ) class C : f = f1 def g ( self ): ... return 'hello world' h = g これで、 f 、 g 、および h は、 ... self . index = len ( data ) def __iter__ ( self ): return self def __next__ ( self ): if self . index == 0 : ...
https://man.plustar.jp/python/tutorial/classes.html - [similar]
What's New in Python 2.6 — Python 3.6.5 ドキュメント 4734
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ction : # Database interface def cursor ( self ): "Returns a cursor object and starts a new transaction" def ... start a new transaction cursor = self . cursor () return cursor __exit__() メソッドはそれがほとんどの仕事を ... 。望むならもっと明示的に、コメントでマークした部分で return 文を書いてもよろしいです: class DatabaseConnection ... eption occurred, so rollback. self . rollback () # return False contextlib モジュール ¶ contextlib モジュール ...
https://man.plustar.jp/python/whatsnew/2.6.html - [similar]
コルーチンオブジェクト — Python 3.6.5 ドキュメント 4692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... t *frame , PyObject *name , PyObject *qualname ) ¶ Return value: New reference. frame オブジェクトから新しい ...
https://man.plustar.jp/python/c-api/coro.html - [similar]
None オブジェクト — Python 3.6.5 ドキュメント 4692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... トも他のオブジェクトと同様に扱う必要があります。 Py_RETURN_NONE ¶ C 関数からの Py_None の返却を適切に扱います ...
https://man.plustar.jp/python/c-api/none.html - [similar]
18.7. asynchat --- 非同期ソケットコマンド/レスポンスハンドラ — Python 3.6.5 ド... 4692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... r need have only one method, more() , which should return data to be transmitted on the channel. The produce ... contains no more data) by having its more() method return the empty bytes object. At this point the async_ch ...
https://man.plustar.jp/python/library/asynchat.html - [similar]
26.3. doctest --- 対話的な実行例をテストする — Python 3.6.5 ドキュメント 4692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... , >>> factorial(5) 120 """ def factorial ( n ): """Return the factorial of n, an exact integer >= 0. >>> [fa ... 2 while factor <= n : result *= factor factor += 1 return result if __name__ == "__main__" : import doctest ... octest . DocTestSuite ( my_module_with_doctests )) return tests doctest の入ったテキストファイルやモジュール ... > import a , doctest >>> doctest . testmod ( a ) --Return-- > <doctest a[1]>(3)g()->None -> import pdb; pdb. ...
https://man.plustar.jp/python/library/doctest.html - [similar]
11.2. os.path --- 共通のパス名操作 — Python 3.6.5 ドキュメント 4692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 入れるようになりました。 os.path. isfile ( path ) ¶ Return True if path is an existing regular file. This fol ... け入れるようになりました。 os.path. isdir ( path ) ¶ Return True if path is an existing directory. This follow ... 入れるようになりました。 os.path. islink ( path ) ¶ Return True if path refers to an existing directory entry ... the case of a pathname. On Unix and Mac OS X, this returns the path unchanged; on case-insensitive filesyste ...
https://man.plustar.jp/python/library/os.path.html - [similar]
21.21. socketserver --- ネットワークサーバのフレームワーク — Python 3.6.5 ドキ... 4692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... s and RequestHandlerClass attributes. fileno ( ) ¶ Return an integer file descriptor for the socket on which ... timeout() will be called and handle_request() will return. serve_forever ( poll_interval=0.5 ) ¶ Handle requ ... written, respectively, to get the request data or return data to the client. The rfile attributes of both c ...
https://man.plustar.jp/python/library/socketserver.html - [similar]
What's New In Python 3.4 — Python 3.6.5 ドキュメント 4692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... /encodings/hex_codec.py" , line 20 , in hex_decode return ( binascii . a2b_hex ( input ), len ( input )) bin ... /encodings/bz2_codec.py" , line 17 , in bz2_encode return ( bz2 . compress ( input ), len ( input )) File "/ ... usr/lib/python3.4/bz2.py" , line 498 , in compress return comp . compress ( data ) + comp . flush () TypeErr ... ( instr . opname ) LOAD_FAST LOAD_CONST BINARY_ADD RETURN_VALUE dis モジュールにある色々な表示ツールが、これ ...
https://man.plustar.jp/python/whatsnew/3.4.html - [similar]
変更履歴 — Python 3.6.5 ドキュメント 4692
Filter entries by content:', ' ', ' ' ].join('\n')); function dofilter() { try { var query = new ... RegExp($('#searchbox').val(), 'i'); } catch (e) { return; // not a valid regex (yet) } // find headers for ...
https://man.plustar.jp/python/whatsnew/changelog.html - [similar]