Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 46 for mapping (0.004 sec.)
- マップ型プロトコル (mapping protocol) — Python 3.6.5 ドキュメント 15759
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...イヤ (abstract objects layer) » マップ型プロトコル (mapping protocol) ¶ int PyMapping_Check ( PyObject *o ) ¶...Return 1 if the object provides mapping protocol, and 0 otherwise. This function always su...cceeds. Py_ssize_t PyMapping_Size ( PyObject *o ) ¶ Py_ssize_t PyMapping_Length...and -1 on failure. For objects that do not provide mapping protocol, this is equivalent to the Python express... - https://man.plustar.jp/python/c-api/mapping.html - [similar]
- Unicode オブジェクトと codec — Python 3.6.5 ドキュメント 10877
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...included in the encodings package). The codec uses mapping to encode and decode characters. The mapping objec...ts provided must support the __getitem__() mapping interface; dictionaries and sequences work well. 以...下は mapping codec の APIです: PyObject * PyUnicode_DecodeCharm...p ( const char *data , Py_ssize_t size , PyObject *mapping , const char *errors ) ¶ Return value: New referen... - https://man.plustar.jp/python/c-api/unicode.html - [similar]
- 8.3. collections --- コンテナデータ型 — Python 3.6.5 ドキュメント 10236
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...copes' def __setitem__ ( self , key , value ): for mapping in self . maps : if key in mapping : mapping [ key...key ] = value def __delitem__ ( self , key ): for mapping in self . maps : if key in mapping : del mapping [..., 451)] class collections. Counter ( [ iterable-or-mapping ] ) ¶ Counter はハッシュ可能なオブジェクトをカウン...です。 要素は、 iterable から数え上げられたり、他の mapping (やカウンタ) から初期化されます: >>> c = Counter (... - https://man.plustar.jp/python/library/collections.html - [similar]
- 26.1. typing --- 型ヒントのサポート — Python 3.6.5 ドキュメント 10236
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...をサポートするようになりました。 from typing import Mapping , Sequence def notify_by_email ( employees : Seque...nce [ Employee ], overrides : Mapping [ str , str ]) -> None : ... ジェネリクスは TypeVa...固定することが出来ます: from typing import TypeVar , Mapping T = TypeVar ( 'T' ) class MyDict ( Mapping [ str ,...クマップ型は次のように定義することが出来ます: class Mapping ( Generic [ KT , VT ]): def __getitem__ ( self , k... - https://man.plustar.jp/python/library/typing.html - [similar]
- 8.4. collections.abc --- コレクションの抽象基底クラス — Python 3.6.5 ドキュメン... 8818
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...remove , __ior__ , __iand__ , __ixor__ , __isub__ Mapping Collection __getitem__ , __iter__ , __len__ __cont...ys , items , values , get , __eq__ , __ne__ MutableMapping Mapping __getitem__ , __setitem__ , __delitem__ ,...__iter__ , __len__ Mapping から継承したメソッドと、 pop , popitem , clear , u...pdate , setdefault MappingView Sized __len__ ItemsView MappingView , Set __co... - https://man.plustar.jp/python/library/collections.abc.html - [similar]
- 29.12. inspect --- 活動中のオブジェクトの情報を取得する — Python 3.6.5 ドキュメ... 8695
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...設定されます。 bind ( *args , **kwargs ) ¶ Create a mapping from positional and keyword arguments to parameter...bind() or Signature.bind_partial() call. Holds the mapping of arguments to the function's parameters. argumen...ts ¶ An ordered, mutable mapping ( collections.OrderedDict ) of parameters' names t...ly parameter names. kwonlydefaults is a dictionary mapping parameter names from kwonlyargs to the default val... - https://man.plustar.jp/python/library/inspect.html - [similar]
- 6.1. string --- 一般的な文字列操作 — Python 3.6.5 ドキュメント 8177
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ト文字列になる引数を一つだけ取ります。 substitute ( mapping , **kwds ) ¶ テンプレート置換を行い、新たな文字列を...生成して返します。 mapping はテンプレート中のプレースホルダに対応するキーを持...場合にはキーワードをプレースホルダ名に対応させます。 mapping と kwds の両方が指定され、内容が重複した場合には、...定したプレースホルダを優先します。 safe_substitute ( mapping , **kwds ) ¶ substitute() と同じですが、プレースホ... - https://man.plustar.jp/python/library/string.html - [similar]
- 用語集 — Python 3.6.5 ドキュメント 8039
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » 用語集 ¶ >>> インタ
...状態を引き起こすリスクがあります。例えば、 if key in mapping: return mapping[key] というコードは、判定の後、別の...スレッドが探索の前に mapping から key を取り除くと失敗します。この問題は、ロック...については importlib.abc.Loader を参照してください。 mapping (マッピング) 任意のキー探索をサポートしていて、 Ma...pping か MutableMapping の 抽象基底クラス で指定されたメソッドを実装してい... - https://man.plustar.jp/python/glossary.html - [similar]
- 抽象オブジェクトレイヤ (abstract objects layer) — Python 3.6.5 ドキュメント 7658
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...型プロトコル (sequence protocol) マップ型プロトコル (mapping protocol) イテレータプロトコル (iterator protocol)... - https://man.plustar.jp/python/c-api/abstract.html - [similar]
- イテレータプロトコル (iterator protocol) — Python 3.6.5 ドキュメント 7658
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...反復 , Software 前のトピックへ マップ型プロトコル (mapping protocol) 次のトピックへ バッファプロトコル (buffe... - https://man.plustar.jp/python/c-api/iter.html - [similar]
