per page, with , order by , clip by
Results of 1 - 10 of about 25 for predicate (0.006 sec.)
Curses C API — Python 3.14.8 ドキュメント 12337
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Curses C API テーマ 自動 ライト ダーク | Curses C API ¶ curses exposes a small C inte ... Curses_API[0] corresponds to PyCursesWindow_Type . PyCurses_API[1] , PyCurses_API[2] , and PyCurses_API[3] are pointers to predicate functions of type int (*)(void) . When called, these predicates return whether curses.setupterm() , curses.initscr() , and ... ed ¶ Macro checking if curses.setupterm() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_setupterm_called = ( predicate_t ) PyCurses_API [ 1 ]; if ( ! was_setupterm_called ()) { retu ... ised ¶ Macro checking if curses.initscr() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_initscr_called = ( predicate_t ) PyCurses_API [ 2 ]; if ( ! was_initscr_called ()) { return N ...
https://man.mtool.work/python/3.14/c-api/curses.html
Curses C API — Python 3.14.8 ドキュメント 12337
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Curses C API テーマ 自動 ライト ダーク | Curses C API ¶ curses exposes a small C inte ... Curses_API[0] corresponds to PyCursesWindow_Type . PyCurses_API[1] , PyCurses_API[2] , and PyCurses_API[3] are pointers to predicate functions of type int (*)(void) . When called, these predicates return whether curses.setupterm() , curses.initscr() , and ... ed ¶ Macro checking if curses.setupterm() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_setupterm_called = ( predicate_t ) PyCurses_API [ 1 ]; if ( ! was_setupterm_called ()) { retu ... ised ¶ Macro checking if curses.initscr() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_initscr_called = ( predicate_t ) PyCurses_API [ 2 ]; if ( ! was_initscr_called ()) { return N ...
https://man.mtool.work/python/3.14/c-api/curses.html
itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 11690
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効 ... .. count(10) → 10 11 12 13 14 ... cycle() p p0, p1, ... plast, p0, p1, ... cycle('ABCD') → A B C D A B C D ... dropwhile() predicate, seq seq[n], seq[n+1], starting when predicate fails dropwhile(lambda x: x<5, [1,4,6,3,8]) → 6 3 8 filterfalse() predicate ... , seq elements of seq where predicate(elem) fails filterfalse(lambda x: x<5, [1,4,6,3,8]) → 6 8 groupby() iterable[, key] key(v) の値でグループ化したサブイテレー ... 0 10 10 starmap() func, seq func(*seq[0]), func(*seq[1]), ... starmap(pow, [(2,5), (3,2), (10,3)]) → 32 9 1000 takewhile() predicate, seq seq[0], seq[1], until predicate fails takewhile(lambda x: x<5, [1,4,6,3,8]) → 1 4 tee() it, n it1, it2 , ... itn 一つ ...
https://man.mtool.work/python/3.14/library/itertools.html
itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 11690
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効 ... .. count(10) → 10 11 12 13 14 ... cycle() p p0, p1, ... plast, p0, p1, ... cycle('ABCD') → A B C D A B C D ... dropwhile() predicate, seq seq[n], seq[n+1], starting when predicate fails dropwhile(lambda x: x<5, [1,4,6,3,8]) → 6 3 8 filterfalse() predicate ... , seq elements of seq where predicate(elem) fails filterfalse(lambda x: x<5, [1,4,6,3,8]) → 6 8 groupby() iterable[, key] key(v) の値でグループ化したサブイテレー ... 0 10 10 starmap() func, seq func(*seq[0]), func(*seq[1]), ... starmap(pow, [(2,5), (3,2), (10,3)]) → 32 9 1000 takewhile() predicate, seq seq[0], seq[1], until predicate fails takewhile(lambda x: x<5, [1,4,6,3,8]) → 1 4 tee() it, n it1, it2 , ... itn 一つ ...
https://man.mtool.work/python/3.14/library/itertools.html
デスクリプタ ガイド — Python 3.14.8 ドキュメント 8269
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を ... erifies that a value is a str . Optionally, it validates a given minimum or maximum length. It can validate a user-defined predicate as well. class OneOf ( Validator ): def __init__ ( self , * options ): self . options = set ( options ) def validate ( sel ... no more than { self . maxvalue !r} ' ) class String ( Validator ): def __init__ ( self , minsize = None , maxsize = None , predicate = None ): self . minsize = minsize self . maxsize = maxsize self . predicate = predicate def validate ( self , value ): if ... ue ) > self . maxsize : raise ValueError ( f 'Expected { value !r} to be no bigger than { self . maxsize !r} ' ) if self . predicate is not None and not self . predicate ( value ): raise ValueError ( f 'Expected { self . predicate } to be true for { value ...
https://man.mtool.work/python/3.14/howto/descriptor.html
デスクリプタ ガイド — Python 3.14.8 ドキュメント 8269
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を ... erifies that a value is a str . Optionally, it validates a given minimum or maximum length. It can validate a user-defined predicate as well. class OneOf ( Validator ): def __init__ ( self , * options ): self . options = set ( options ) def validate ( sel ... no more than { self . maxvalue !r} ' ) class String ( Validator ): def __init__ ( self , minsize = None , maxsize = None , predicate = None ): self . minsize = minsize self . maxsize = maxsize self . predicate = predicate def validate ( self , value ): if ... ue ) > self . maxsize : raise ValueError ( f 'Expected { value !r} to be no bigger than { self . maxsize !r} ' ) if self . predicate is not None and not self . predicate ( value ): raise ValueError ( f 'Expected { self . predicate } to be true for { value ...
https://man.mtool.work/python/3.14/howto/descriptor.html
同期プリミティブ — Python 3.14.8 ドキュメント 8070
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ ソースコ ... eck the state and be prepared to wait() again. For this reason, you may prefer to use wait_for() instead. async wait_for ( predicate ) ¶ 引数 predicate の条件が 真 になるまで待機します。 The predicate must be a callable which result will be interpreted as ... a boolean value. The method will repeatedly wait() until the predicate evaluates to true . The final value is the return value. Semaphore ¶ class asyncio. Semaphore ( value = 1 ) ¶ セマフォオブ ...
https://man.mtool.work/python/3.14/library/asyncio-sync.html
同期プリミティブ — Python 3.14.8 ドキュメント 8070
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ ソースコ ... eck the state and be prepared to wait() again. For this reason, you may prefer to use wait_for() instead. async wait_for ( predicate ) ¶ 引数 predicate の条件が 真 になるまで待機します。 The predicate must be a callable which result will be interpreted as ... a boolean value. The method will repeatedly wait() until the predicate evaluates to true . The final value is the return value. Semaphore ¶ class asyncio. Semaphore ( value = 1 ) ¶ セマフォオブ ...
https://man.mtool.work/python/3.14/library/asyncio-sync.html
関数型プログラミング HOWTO — Python 3.14.8 ドキュメント 7804
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 関数型プログラミング HOWTO テーマ 自動 ライト ダーク | 関数型プログラミング HOWTO ¶ Author : A. M. Kuchling Release : 0.32 この文書では、関数型スタ ... ) for s in [ 'sentence' , 'fragment' ]] ['SENTENCE', 'FRAGMENT'] もちろん、リスト内包表記でも同じ結果が得られます。 filter(predicate, iter) はある条件を満たす要素に渡るイテレータを返すので、同様にリスト内包表記で再現できます。 predicate は、ある条件に対す ... n / python , / usr / bin / java , / usr / bin / perl , / usr / bin / ruby 要素を選択する ¶ さらに別のグループとして、述語 (predicate) に基づいてイテレータの要素からサブセットを選び出す関数があります。 itertools.filterfalse(predicate, iter) は filter() とは ... す: itertools . filterfalse ( is_even , itertools . count ()) => 1 , 3 , 5 , 7 , 9 , 11 , 13 , 15 , ... itertools.takewhile(predicate, iter) は述語が真を返している間だけ要素を返します。一度でも述語が偽を返すと、イテレータは出力終了の合図をします。 def less ...
https://man.mtool.work/python/3.14/howto/functional.html
関数型プログラミング HOWTO — Python 3.14.8 ドキュメント 7804
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 関数型プログラミング HOWTO テーマ 自動 ライト ダーク | 関数型プログラミング HOWTO ¶ Author : A. M. Kuchling Release : 0.32 この文書では、関数型スタ ... ) for s in [ 'sentence' , 'fragment' ]] ['SENTENCE', 'FRAGMENT'] もちろん、リスト内包表記でも同じ結果が得られます。 filter(predicate, iter) はある条件を満たす要素に渡るイテレータを返すので、同様にリスト内包表記で再現できます。 predicate は、ある条件に対す ... n / python , / usr / bin / java , / usr / bin / perl , / usr / bin / ruby 要素を選択する ¶ さらに別のグループとして、述語 (predicate) に基づいてイテレータの要素からサブセットを選び出す関数があります。 itertools.filterfalse(predicate, iter) は filter() とは ... す: itertools . filterfalse ( is_even , itertools . count ()) => 1 , 3 , 5 , 7 , 9 , 11 , 13 , 15 , ... itertools.takewhile(predicate, iter) は述語が真を返している間だけ要素を返します。一度でも述語が偽を返すと、イテレータは出力終了の合図をします。 def less ...
https://man.mtool.work/python/3.14/howto/functional.html
PREV 1 2 3 NEXT