Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 65 for func (0.051 sec.)
27.4. Python プロファイラ — Python 3.6.5 ドキュメント 8130
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 行して、プロファイル結果を次のように表示します: 197 function calls ( 192 primitive calls ) in 0.002 seconds ... ottime percall cumtime percall filename : lineno ( function ) 1 0.000 0.000 0.001 0.001 < string > : 1 ( < ... 0.000 0.000 0.000 sre_compile . py : 25 ( _identityfunction ) 3 / 1 0.000 0.000 0.000 0.000 sre_compile . ... 回数 tottime 与えられた関数に消費された合計時間 (sub-function の呼び出しで消費された時間は除外されています) ...
https://man.plustar.jp/python/library/profile.html - [similar]
What's New In Python 3.0 — Python 3.6.5 ドキュメント 8030
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... rints a newline New : print () # You must call the function! Old : print >> sys . stderr , "fatal error" N ... ertools.zip_longest() で包んでください。例えば map(func, *sequences) を list(map(func, itertools.zip_longe ... スを使用してください。 sys モジュールの整理: sys.exitfunc() , sys.exc_clear() , sys.exc_type , sys.exc_value ... __members__ と __methods__ は削除されました。 The function attributes named func_X have been renamed to u ...
https://man.plustar.jp/python/whatsnew/3.0.html - [similar]
関数型プログラミング HOWTO — Python 3.6.5 ドキュメント 7930
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » 関数 ... や generator のような言語機能、および itertools や functools といった関連するライブラリモジュールを見ること ... たり再開したりできるのです。 組み込み関数 (built-in function) ¶ よくイテレータと一緒に使うビルトイン関数につ ... ーラブルを返す) といった関数です。 itertools.starmap(func, iter) は、イテラブルがタプルのストリームを返すとみ ... なして、 そのタプルを引数に使って func を呼びます: itertools . starmap ( os . path . join ...
https://man.plustar.jp/python/howto/functional.html - [similar]
17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 7629
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... w , 323 , 1235 ) print ( future . result ()) map ( func , *iterables , timeout=None , chunksize=1 ) ¶ Simi ... lar to map(func, *iterables) except: the iterables are collected i ... mmediately rather than lazily; func is executed asynchronously and several calls to fu ... or None , there is no limit to the wait time. If a func call raises an exception, then that exception will ...
https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
3. データモデル — Python 3.6.5 ドキュメント 7529
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... 行うことができる型です: ユーザ定義関数 (user-defined function) ユーザ定義関数オブジェクトは、関数定義を行うこ ... 性: __self__ はクラスインスタンスオブジェクトで、 __func__ は関数オブジェクトです; __doc__ はメソッドのドキ ... ュメンテーション文字列 ( __func__.__doc__ と同じ) です; __name__ はメソッドの名前 ... ( __func__.__name__ と同じ) です; __module__ はメソッドが定 ...
https://man.plustar.jp/python/reference/datamodel.html - [similar]
8. 複合文 (compound statement) — Python 3.6.5 ドキュメント 7429
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... t | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | async_with_stmt | async_for_stmt | ... async_funcdef suite ::= stmt_list NEWLINE | NEWLINE INDENT st ... 関数オブジェクトを定義します ( 標準型の階層 節参照): funcdef ::= [ decorators ] "def" funcname "(" [ paramet ... ion ] defparameter ::= parameter ["=" expression ] funcname ::= identifier 関数定義は実行可能な文です。関数 ...
https://man.plustar.jp/python/reference/compound_stmts.html - [similar]
2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 7228
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... an extension type." , . m_size = -1 , }; PyMODINIT_FUNC PyInit_custom ( void ) { PyObject * m ; if ( PyTyp ... PyMethodDef Custom_methods [] = { { "name" , ( PyCFunction ) Custom_name , METH_NOARGS , "Return the name ... an extension type." , . m_size = -1 , }; PyMODINIT_FUNC PyInit_custom2 ( void ) { PyObject * m ; if ( PyTy ... take a CustomObject * argument, but the tp_dealloc function pointer expects to receive a PyObject * argume ...
https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
What's New in Python 2.4 — Python 3.6.5 ドキュメント 7228
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... に追加されました。 この新たな機能は「関数デコレータ (function decorators)」と呼ばれます。この名前は classmet ... に単に属性をセットするだけのものです: >>> def deco ( func ): ... func . attr = 'decorated' ... return func . ... .. >>> @deco ... def f (): pass ... >>> f <function f at 0x402ef0d4> >>> f . attr 'decorated' >>> ... 整数かどうかチェックさせてみます: def require_int ( func ): def wrapper ( arg ): assert isinstance ( arg , ...
https://man.plustar.jp/python/whatsnew/2.4.html - [similar]
8.9. types --- 動的な型生成と組み込み型に対する名前 — Python 3.6.5 ドキュメント 7114
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 下の型に対して標準的な名前が定義されています: types. FunctionType ¶ types. LambdaType ¶ ユーザ定義の関数と l ... ラスのインスタンスのメソッドの型です。 types. BuiltinFunctionType ¶ types. BuiltinMethodType ¶ len() や sys. ... ルーチンユーティリティ関数 ¶ types. coroutine ( gen_func ) ¶ この関数は、 generator 関数を、ジェネレータベー ... スのコルーチンを返す coroutine function に変換します。返されるジェネレータベースのコル ...
https://man.plustar.jp/python/library/types.html - [similar]
1. C や C++ による Python の拡張 — Python 3.6.5 ドキュメント 7013
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... want to create a Python interface to the C library function system() [1] . This function takes a null-term ... g as argument and returns an integer. We want this function to be callable from Python as follows: >>> imp ... (ここではエラーチェックを省略しています): PyMODINIT_FUNC PyInit_spam ( void ) { PyObject * m ; m = PyModule ... あります。 この例にある、関数の戻り値型に PyMODINIT_FUNC を使う方法については後で議論します。 PyErr_SetStri ...
https://man.plustar.jp/python/extending/extending.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT