Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 88 for tuple (0.023 sec.)
10.1. itertools --- 効率的なループ実行のためのイテレータ生成関数 — Python 3.6.5... 14544
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... mbinations(range(4), 3) --> 012 013 023 123 pool = tuple ( iterable ) n = len ( pool ) if r > n : return in ... dices = list ( range ( r )) yield tuple ( pool [ i ] for i in indices ) while True : for i ... , r ): indices [ j ] = indices [ j - 1 ] + 1 yield tuple ( pool [ i ] for i in indices ) combinations() のコ ... できます: def combinations ( iterable , r ): pool = tuple ( iterable ) n = len ( pool ) for indices in permu ...
https://man.plustar.jp/python/library/itertools.html - [similar]
32.12. dis --- Python バイトコードの逆アセンブラ — Python 3.6.5 ドキュメント 11139
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... に関連付けられた値をスタックにプッシュします。 BUILD_TUPLE ( count ) ¶ スタックから count 個の要素を消費してタ ... ックにプッシュします。 BUILD_LIST ( count ) ¶ BUILD_TUPLE と同じように動作しますが、この命令はリストを作り出 ... します。 BUILD_SET ( count ) ¶ BUILD_TUPLE と同じように動作しますが、この命令は set を作り出し ... the stack. The top element on the stack contains a tuple of keys. バージョン 3.6 で追加. BUILD_STRING ( cou ...
https://man.plustar.jp/python/library/dis.html - [similar]
26.1. typing --- 型ヒントのサポート — Python 3.6.5 ドキュメント 10455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... トします。最も基本的なサポートとして Any 、 Union 、 Tuple 、 Callable 、 TypeVar および Generic 型を含みます ... するのに有用です。例えば: from typing import Dict , Tuple , List ConnectionOptions = Dict [ str , str ] Addr ... ess = Tuple [ str , int ] Server = Tuple [ Address , Connectio ... oadcast_message ( message : str , servers : List [ Tuple [ Tuple [ str , int ], Dict [ str , str ]]]) -> No ...
https://man.plustar.jp/python/library/typing.html - [similar]
29.9. traceback --- スタックトレースの表示または取得 — Python 3.6.5 ドキュメン... 10335
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ckSummary object from a supplied old-style list of tuples. Each tuple should be a 4-tuple with filename, li ... accessed (which also happens when casting it to a tuple). line may be directly provided, and will prevent ... de_of_death () def bright_side_of_death (): return tuple ()[ 0 ] try : lumberjack () except IndexError : ex ... , in lumberjack bright_side_of_death() IndexError: tuple index out of range *** print_exc: Traceback (most ...
https://man.plustar.jp/python/library/traceback.html - [similar]
プログラミング FAQ — Python 3.6.5 ドキュメント 9664
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... ドを適用するにはどうしますか? なぜ加算はされるのに a_tuple[i] += ['item'] は例外を送出するのですか? 辞書型 (d ... と同じ意味で、そして a_list を変更しますが、 some_tuple += (1, 2, 3) と some_int += 1 は新しいオブジェクト ... でしょう。 イミュータブルなオブジェクト( str , int , tuple , 等)を持っている場合、それを参照している全ての変数 ... 間の変更はどのようにするのですか? ¶ 型コンストラクタ tuple(seq) はすべてのシーケンス (実際には、すべてのイテラ ...
https://man.plustar.jp/python/faq/programming.html - [similar]
シーケンス型プロトコル (sequence protocol) — Python 3.6.5 ドキュメント 9209
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... on の式 list(o) と同等です。 PyObject * PySequence_Tuple ( PyObject *o ) ¶ Return value: New reference. Ret ... urn a tuple object with the same contents as the arbitrary seq ... uence o or NULL on failure. If o is a tuple, a new reference will be returned, otherwise a tup ... tents. This is equivalent to the Python expression tuple(o) . PyObject * PySequence_Fast ( PyObject *o , co ...
https://man.plustar.jp/python/c-api/sequence.html - [similar]
29.12. inspect --- 活動中のオブジェクトの情報を取得する — Python 3.6.5 ドキュメ... 8753
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... パイルされたバイトコードそのままの文字列 co_cellvars tuple of names of cell variables (referenced by containi ... スへの変換表を文字列にエンコードしたもの co_freevars tuple of names of free variables (referenced via a funct ... tional arguments ( *args ) the default is an empty tuple. For variable-keyword arguments ( **kwargs ) the d ... values of a Python function's parameters. A named tuple ArgSpec(args, varargs, keywords, defaults) is retu ...
https://man.plustar.jp/python/library/inspect.html - [similar]
32.7. tokenize --- Pythonソースのためのトークナイザ — Python 3.6.5 ドキュメント 8176
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... d by checking the exact_type property on the named tuple returned from tokenize.tokenize() . 32.7.1. 入力の ... 行で、継続行が含まれます。この5要素のタプルは named tuple として返され、フィールド名は type string start end ... line になります。 The returned named tuple has an additional property named exact_type that c ... all other token types exact_type equals the named tuple type field. バージョン 3.1 で変更: named tuple のサ ...
https://man.plustar.jp/python/library/tokenize.html - [similar]
タプルオブジェクト (tuple object) — Python 3.6.5 ドキュメント 7841
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... クト (concrete object) レイヤ » タプルオブジェクト (tuple object) ¶ PyTupleObject ¶ この PyObject のサブタイ ... のタプルオブジェクトを表現します。 PyTypeObject PyTuple_Type ¶ この PyTypeObject のインスタンスは Python の ... タプル型を表現します; Python レイヤにおける tuple と同じオブジェクトです。 int PyTuple_Check ( PyObj ... タイプのインスタンスである場合に真を返します。 int PyTuple_CheckExact ( PyObject *p ) ¶ p がタプルオブジェクト ...
https://man.plustar.jp/python/c-api/tuple.html - [similar]
19.1.6. email.headerregistry: カスタムヘッダーオブジェクト — Python 3.6.5 ドキ... 7613
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... for name ; that is, case is preserved. defects ¶ A tuple of HeaderDefect instances reporting any RFC compli ... このヘッダ型は以下の属性も提供しています: groups ¶ A tuple of Group objects encoding the addresses and groups ... Groups whose display_name is None . addresses ¶ A tuple of Address objects encoding all of the individual ... at is not in a group. addresses ¶ A possibly empty tuple of Address objects representing the addresses in t ...
https://man.plustar.jp/python/library/email.headerregistry.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 NEXT