Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for indices (0.068 sec.)
10.1. itertools --- 効率的なループ実行のためのイテレータ生成関数 — Python 3.6.5... 13772
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... le ( iterable ) n = len ( pool ) if r > n : return indices = list ( range ( r )) yield tuple ( pool [ i ] for ... i in indices ) while True : for i in reversed ( range ( r )): i ... f indices [ i ] != i + n - r : break else : return indices [ ... i ] += 1 for j in range ( i + 1 , r ): indices [ j ] = indices [ j - 1 ] + 1 yield tuple ( pool [ ...
https://man.plustar.jp/python/library/itertools.html - [similar]
バッファプロトコル (buffer Protocol) — Python 3.6.5 ドキュメント 8820
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... にアクセスしなければなりません: ptr = (char *)buf + indices[0] * strides[0] + ... + indices[n-1] * strides[n-1 ... * strides , Py_ssize_t * suboffsets , Py_ssize_t * indices ) { char * pointer = ( char * ) buf ; int i ; for ... 0 ; i < ndim ; i ++ ) { pointer += strides [ i ] * indices [ i ]; if ( suboffsets [ i ] >= 0 ) { pointer = * ...
https://man.plustar.jp/python/c-api/buffer.html - [similar]
What's New in Python 2.3 — Python 3.6.5 ドキュメント 8531
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ンスの実装を単純化するために、 slice オブジェクトに indices(length)() メソッドが追加されています。これはシーケ ... を返すことで直接 range() に渡せるようにしています。 indices() は範囲外のインデクスを、標準のスライスと一貫した ... _ ( self , item ): if isinstance ( item , slice ): indices = item . indices ( len ( self )) return FakeSeq ([ ... self . calc_item ( i ) for i in range ( * indices )]) else : return self . calc_item ( i ) ところでこ ...
https://man.plustar.jp/python/whatsnew/2.3.html - [similar]
6.1. string --- 一般的な文字列操作 — Python 3.6.5 ドキュメント 8260
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... }{1}{0} ' . format ( 'abra' , 'cad' ) # arguments' indices can be repeated 'abracadabra' 名前を使ったアクセス ...
https://man.plustar.jp/python/library/string.html - [similar]
What's New In Python 3.4 — Python 3.6.5 ドキュメント 8260
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... rror を投げるようになりました。 ( bpo-9177 ) slice.indices() が巨大な値で OverflowError を起こすことはなくなり ... ました。この修正からの流れで slice.indices() は負の値に対して ValueError を投げるようになって ...
https://man.plustar.jp/python/whatsnew/3.4.html - [similar]
3. データモデル — Python 3.6.5 ドキュメント 8187
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... スオブジェクトはメソッドを一つサポートします: slice. indices ( self , length ) ¶ このメソッドは単一の整数引数 l ...
https://man.plustar.jp/python/reference/datamodel.html - [similar]
6. 式 (expression) — Python 3.6.5 ドキュメント 8187
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ndex i such that x == y[i] , and all lower integer indices do not raise IndexError exception. (If any other e ...
https://man.plustar.jp/python/reference/expressions.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 8187
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ch objects now support index-like objects as group indices. (Contributed by Jeroen Demeyer and Xiang Zhang in ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
PREV 1 NEXT