Python 3.6.5 ドキュメント 検索
Results of 61 - 65 of about 65 for obj (0.117 sec.)
- 6.1. string --- 一般的な文字列操作 — Python 3.6.5 ドキュメント 6140
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
指定対象オブジェクトに変換します。返り値はタプル、 (obj, used_key) です。デフォルトでは PEP 3101 に規定され...
- https://man.plustar.jp/python/library/string.html - [similar]
- 用語集 — Python 3.6.5 ドキュメント 6083
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » 用語集 ¶ >>> インタ
...
スタンスです。 参考 A text file reads and writes str objects. bytes-like object バッファプロトコル (buffer...
短縮形の名称です。 PEP 498 も参照してください。 file object (ファイルオブジェクト) 下位のリソースへのファイ...
セスを媒介できます。ファイルオブジェクトは file-like objects や streams とも呼ばれます。 ファイルオブジェク...
標準的な方法は open() 関数を使うことです。 file-like object file object と同義です。 finder (ファインダ) イ...
- https://man.plustar.jp/python/glossary.html - [similar]
- 26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 6083
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ストマネージャーとして使用できます: >>> with patch . object ( ProductionClass , 'method' , return_value = N...
= Mock () >>> m . hello . assert_not_called () >>> obj = m . hello () >>> m . hello . assert_not_called (...
to make a series of assertions that reuse the same object. Note that reset_mock() doesn't clear the retur...
attach_mock() メソッドを呼び出します: >>> thing1 = object () >>> thing2 = object () >>> parent = MagicMoc...
- https://man.plustar.jp/python/library/unittest.mock.html - [similar]
- What's New in Python 2.5 — Python 3.6.5 ドキュメント 6083
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
e interface def cursor ( self ): "Returns a cursor object and starts a new transaction" def commit ( self...
cursor , locked ): ... 最後になりますが、 closing(object) 関数は object をそのまま返して変数に束縛出来る...
ようにし、かつブロックの終了で、与えた引数が持つ object.close を呼び出します: import urllib , sys from...
インタのための領域 (4 バイト) をアイテムを表現する PyObject に余分に必要とします。2147483647*4 は既に 32 ビ...
- https://man.plustar.jp/python/whatsnew/2.5.html - [similar]
- What's New In Python 3.5 — Python 3.6.5 ドキュメント 6083
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
して %b は使えませんが、 %a であれば使えます ( repr(obj).encode('ascii', 'backslashreplace') と同等): >>>...
, in <module> TypeError : %b requires bytes, or an object that implements __bytes__, not 'str' >>> b 'pri...
ethod. This makes it easier to initialize a module object with code compiled from a string by running exe...
-controlled attributes based on the passed-in spec object. (Contributed by Brett Cannon in bpo-20383 .) i...
- https://man.plustar.jp/python/whatsnew/3.5.html - [similar]