Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 51 for collections (0.007 sec.)
- 8.4. collections.abc --- コレクションの抽象基底クラス — Python 3.6.5 ドキュメン... 16425
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...リ » 8. データ型 » 8.4. collections.abc --- コレクションの抽象基底クラス ¶ バージョン...3.3 で追加: 以前はこのモジュールは collections モジュールの一部でした。 ソースコード: Lib/_collec...かを判定します。 8.4.1. コレクション抽象基底クラス ¶ collections モジュールは以下の ABC (抽象基底クラス) を提供しま..._iter__ , __next__ Sized __len__ Callable __call__ Collection Sized , Iterable , Container __contains__ , __iter_... - https://man.plustar.jp/python/library/collections.abc.html - [similar]
- 26.1. typing --- 型ヒントのサポート — Python 3.6.5 ドキュメント 12229
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...で追加. class typing. Iterable ( Generic[T_co] ) ¶ collections.abc.Iterable のジェネリック版です。 class typing....Iterator ( Iterable[T_co] ) ¶ collections.abc.Iterator のジェネリック版です。 class typing....Reversible ( Iterable[T_co] ) ¶ collections.abc.Reversible のジェネリック版です。 class typing...です。 class typing. Container ( Generic[T_co] ) ¶ collections.abc.Container のジェネリック版です。 class typing.... - https://man.plustar.jp/python/library/typing.html - [similar]
- 8.3. collections --- コンテナデータ型 — Python 3.6.5 ドキュメント 9112
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...リ » 8. データ型 » 8.3. collections --- コンテナデータ型 ¶ ソースコード: Lib/collectio...バージョン 3.3 で変更: コレクション抽象基底クラス が collections.abc モジュールに移動されました。後方互換性のため、...レートするのに使え、テンプレート化に便利です。 class collections. ChainMap ( *maps ) ¶ ChainMap は、複数の辞書やその..., ('my', 514), ('hamlet', 471), ('in', 451)] class collections. Counter ( [ iterable-or-mapping ] ) ¶ Counter はハ... - https://man.plustar.jp/python/library/collections.html - [similar]
- What's New In Python 3.2 — Python 3.6.5 ドキュメント 8377
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...ァイルの実際のファイル名を記憶しています: >>> import collections >>> collections . __cached__ # doctest: +SKIP 'c:/...py32/lib/__pycache__/collections.cpython-32.pyc' キャッシュファイル名を一意にするた...imp . source_from_cache ( 'c:/py32/lib/__pycache__/collections.cpython-32.pyc' ) 'c:/py32/lib/collections.py' >>>...imp . cache_from_source ( 'c:/py32/lib/collections.py' ) # doctest: +SKIP 'c:/py32/lib/__pycache__/co... - https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
- What's New in Python 2.7 — Python 3.6.5 ドキュメント 7943
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...インオプション解析の argparse モジュールが追加され、 collections モジュールに便利な OrderedDict と Counter が追加さ...ーマンスのためにC言語で描き直されています。 PEP 372: collections に順序付き辞書を追加 で解説されている順序付き辞書...rn スイッチを有効にするようになりました。 PEP 372: collections に順序付き辞書を追加 ¶ 通常の Python 辞書は、 key/...の別実装を書いてきました。その経験に基づき、 2.7 は collections モジュールに新しい OrderedDict クラスを追加しました... - https://man.plustar.jp/python/whatsnew/2.7.html - [similar]
- What's New in Python 2.6 — Python 3.6.5 ドキュメント 7583
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...クトを巡回するのに iter() で出来ます? Python 2.6 の collections モジュールには、この手の区別を表現出来るたくさんの...インターフェイスをサポートすることを示せます: import collections class Storage ( collections . MutableMapping ): .....メソッドを呼び出して登録することでも出来ます: import collections class Storage : ... collections . MutableMapping ....う書けます: def func ( d ): if not isinstance ( d , collections . MutableMapping ): raise ValueError ( "Mapping ob... - https://man.plustar.jp/python/whatsnew/2.6.html - [similar]
- What's New In Python 3.1 — Python 3.6.5 ドキュメント 7583
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...み、編集した後、元の順序で書きなおすことができます。 collections.namedtuple() の _asdict() メソッドは、タプルの順序...はイテラブル内にある一意な要素を数え上げるのに便利な collections.Counter クラスが追加されました: >>> Counter ([ 're...raction(1, 1)] (Contributed by Raymond Hettinger.) collections.namedtuple() が新たにキーワード引数 rename をサポー...the garbage collector. This can reduce the size of collections and therefore the garbage collection overhead on l... - https://man.plustar.jp/python/whatsnew/3.1.html - [similar]
- 用語集 — Python 3.6.5 ドキュメント 7508
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » 用語集 ¶ >>> インタ
...多くの組み込み ABC が同梱されています。その対象は、( collections.abc モジュールで) データ構造、( numbers モジュール...装しているコンテナオブジェクトです。例えば、 dict , collections.defaultdict , collections.OrderedDict , collection...定義によって作成することもできます。名前付きタプルを collections.namedtuple() ファクトリ関数で作成することもできます...グ (mapping) とみなされているので注意してください。 collections.abc.Sequence 抽象基底クラスは __getitem__() や __l... - https://man.plustar.jp/python/glossary.html - [similar]
- 26.7. 2to3 - Python 2 から 3 への自動コード変換 — Python 3.6.5 ドキュメント 7508
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...切な import ステートメントが追加されます。例 import collections など。以下のマッピングが行われます。 対象 変換先 o...(obj) operator.isSequenceType(obj) isinstance(obj, collections.Sequence) operator.isMappingType(obj) isinstance(o...bj, collections.Mapping) operator.isNumberType(obj) isinstance(obj... - https://man.plustar.jp/python/library/2to3.html - [similar]
- 8. データ型 — Python 3.6.5 ドキュメント 7508
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...calendar --- 一般的なカレンダーに関する関数群 8.3. collections --- コンテナデータ型 8.3.1. ChainMap オブジェクト...t オブジェクト 8.3.9. UserString オブジェクト 8.4. collections.abc --- コレクションの抽象基底クラス 8.4.1. コレク... - https://man.plustar.jp/python/library/datatypes.html - [similar]
