Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 46 for calls (0.025 sec.)
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 16003
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 数回の呼び出しをトラックしたいことがあります。 mock_calls 属性は、そのモックの子属性やさらにその子孫に対する ... mock.attribute.method()' id='...'> >>> mock . mock_calls [call.method(), call.attribute.method(10, x=53)] m ... ock_calls に対して assert すると、予期していないメソッド呼び ... 起こらなかったことまでテストできるので便利です: mock_calls と比較するリストを作るために call オブジェクトを利 ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 12677
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... sert_any_call ( 1 , 2 , arg = 'thing' ) assert_has_calls ( calls , any_order=False ) ¶ モックが特定の呼び出 ... しで呼ばれたことをアサートします。呼び出しでは mock_calls のリストがチェックされます。 any_order が false の ... しは任意の順番でも構いませんが、それらがすべて mock_calls に現われなければなりません。 >>> mock = Mock ( ret ... ) >>> mock ( 2 ) >>> mock ( 3 ) >>> mock ( 4 ) >>> calls = [ call ( 2 ), call ( 3 )] >>> mock . assert_has_ ...
https://man.plustar.jp/python/library/unittest.mock.html - [similar]
19.1.4. email.policy: ポリシーオブジェクト — Python 3.6.5 ドキュメント 8909
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... dle a defect found on obj . When the email package calls this method, defect will always be a subclass of D ... fect の派生クラスです。 The default implementation calls the append method of the defects attribute of obj ... . When the email package calls handle_defect , obj will normally have a defects a ... r_source_parse ( sourcelines ) ¶ The email package calls this method with a list of strings, each string en ...
https://man.plustar.jp/python/library/email.policy.html - [similar]
DTrace と SystemTap で CPython を測定する — Python 3.6.5 ドキュメント 8680
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » DTra ... s, each second, across the whole system: global fn_calls; probe python.function.entry { fn_calls[pid(), fil ... 0s %6s\n", "PID", "FILENAME", "LINE", "FUNCTION", "CALLS") foreach ([pid, filename, funcname, lineno] in fn ... _calls- limit 20) { printf("%6d %80s %6d %30s %6d\n", pid ... , filename, lineno, funcname, fn_calls[pid, filename, funcname, lineno]); } delete fn_cal ...
https://man.plustar.jp/python/howto/instrumentation.html - [similar]
デスクリプタ HowTo ガイド — Python 3.6.5 ドキュメント 7856
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » デス ... t they have been packaged into individual function calls. Properties, bound methods, static methods, and cl ... this or any other variable name. To support method calls, functions include the __get__() method for bindin ... on D.f at 0x00C45070> # Dotted access from a class calls __get__() which just returns # the underlying func ... _qualname__ 'D.f' # Dotted access from an instance calls __get__() which returns the # function wrapped in ...
https://man.plustar.jp/python/howto/descriptor.html - [similar]
35.6. termios --- POSIX スタイルの端末制御 — Python 3.6.5 ドキュメント 7780
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 御 ¶ This module provides an interface to the POSIX calls for tty I/O control. For a complete description of ... these calls, see termios(3) Unix manual page. It is only avail ...
https://man.plustar.jp/python/library/termios.html - [similar]
索引 — Python 3.6.5 ドキュメント 7704
ナビゲーション 索引 モジュール | Python » 3.6.5 ドキュメント » 索引 – 記号 ! (pdb command) != 演 ... ented assignment * in expression lists in function calls 文 , [1] 演算子 ** in dictionary displays in funct ... ion calls 文 , [1] 演算子 **= augmented assignment *= augmen ... --trace trace コマンドラインオプション -T, --trackcalls trace コマンドラインオプション -u コマンドラインオ ...
https://man.plustar.jp/python/genindex-%E8%A8%98%E5%8F%B7.html - [similar]
Argument Clinic How-To — Python 3.6.5 ドキュメント 7628
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... ウトを用意してください。 Find a Python builtin that calls either PyArg_ParseTuple() or PyArg_ParseTupleAndKe ... r sample is unchanged.) If the existing C function calls PyArg_ParseTuple() (as opposed to PyArg_ParseTuple ... ensure that the code generated by Argument Clinic calls the exact same function. Second, the format string ... o call one of several different PyArg_ParseTuple() calls depending on how many positional arguments there a ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
27.4. Python プロファイラ — Python 3.6.5 ドキュメント 7628
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... プロファイル結果を次のように表示します: 197 function calls ( 192 primitive calls ) in 0.002 seconds Ordered b ... y : standard name ncalls tottime percall cumtime percall filename : lineno ... いられたことを示します。列の見出しは以下を含みます: ncalls 呼び出し回数 tottime 与えられた関数に消費された合計 ... 費された時間は除外されています) percall tottime を ncalls で割った値 cumtime この関数と全ての subfunction に ...
https://man.plustar.jp/python/library/profile.html - [similar]
32.12. dis --- Python バイトコードの逆アセンブラ — Python 3.6.5 ドキュメント 7551
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... BUILD_TUPLE_UNPACK , but is used for f(*x, *y, *z) call syntax. The stack item at position count + 1 should ... UILD_MAP_UNPACK , but is used for f(**x, **y, **z) call syntax. The stack item at position count + 2 should ... OS を例外として探します。 CALL_FUNCTION ( argc ) ¶ Calls a function. argc indicates the number of positiona ... バージョン 3.6 で変更: This opcode is used only for calls with positional arguments. CALL_FUNCTION_KW ( argc ...
https://man.plustar.jp/python/library/dis.html - [similar]
PREV 1 2 3 4 5 NEXT