Python 3.6.5 ドキュメント 検索
Results of 41 - 50 of about 57 for item (0.086 sec.)
- 32.12. dis --- Python バイトコードの逆アセンブラ — Python 3.6.5 ドキュメント 6490
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
内包表記の実装に使われます。 MAP_ADD ( i ) ¶ dict.setitem(TOS1[-i], TOS, TOS1) を呼び出します。辞書内包表記の...
w dictionary object onto the stack. Pops 2 * count items so that the dictionary holds count entries: {...,...
ン 3.5 で変更: The dictionary is created from stack items instead of creating an empty dictionary pre-sized...
to hold count items. BUILD_CONST_KEY_MAP ( count ) ¶ The version of B...
- https://man.plustar.jp/python/library/dis.html - [similar]
- 20.6. xml.dom --- 文書オブジェクトモデル (DOM) API — Python 3.6.5 ドキュメント 6490
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
メソッドを一つ、属性を一つ定義しています。 NodeList. item ( i ) ¶ 存在する場合シークエンスの i 番目の要素を、...
要です。 NodeList の実装では、全て __len__() と __getitem__() をサポートしなければなりません; このサポートに...
更をサポートしている場合、 NodeList の実装でも __setitem__() および __delitem__() メソッドをサポートしなけれ...
Map. length ¶ 属性リストの長さです。 NamedNodeMap. item ( index ) ¶ 特定のインデクスを持つ属性を返します。...
- https://man.plustar.jp/python/library/xml.dom.html - [similar]
- 関数型プログラミング HOWTO — Python 3.6.5 ドキュメント 6417
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » 関数
...
はキーと値のペアでイテレートしたければ、 values() , items() というメソッドでイテレータを作ることができます。...
とそれぞれの要素を含む 2 タプルを返します。 >>> for item in enumerate ([ 'subject' , 'verb' , 'object' ]):...
... print ( item ) (0, 'subject') (1, 'verb') (2, 'object') enumera...
reduce ( lambda a , b : ( 0 , a [ 1 ] + b [ 1 ]), items )[ 1 ] わかるにはわかるでしょうが、何がどうなって...
- https://man.plustar.jp/python/howto/functional.html - [similar]
- 21.16. nntplib --- NNTP プロトコルクライアント — Python 3.6.5 ドキュメント 6417
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
len ( descs ) # doctest: +SKIP 295 >>> descs . popitem () # doctest: +SKIP ('gmane.comp.python.bio.genera...
h overview is a dictionary with the same number of items, but this number depends on the server. These ite...
y is then the lower-cased header name) or metadata items (the key is then the metadata name prepended with...
":" ). The following items are guaranteed to be present by the NNTP specific...
- https://man.plustar.jp/python/library/nntplib.html - [similar]
- 21.26. xmlrpc.client --- XML-RPC クライアントアクセス — Python 3.6.5 ドキュメン... 6417
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
Write the XML-RPC base 64 encoding of this binary item to the out stream object. The encoded data will ha...
- https://man.plustar.jp/python/library/xmlrpc.client.html - [similar]
- 3. データモデル — Python 3.6.5 ドキュメント 6417
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ
...
(slice) オブジェクト スライスオブジェクトは、 __getitem__() メソッドのためのスライスを表すのに使われます。...
の振る舞いを定義できます。例えば、あるクラスが __getitem__() という名前のメソッドを定義しており、 x がこのク...
のインスタンスであるとすると、 x[i] は type(x).__getitem__(x, i) とほぼ等価です。特に注釈のない限り、適切な...
、そのインスタンスに対し iter() を呼び出すと ( __getitem__() に処理が戻されずに) TypeError を送出します。 [...
- https://man.plustar.jp/python/reference/datamodel.html - [similar]
- What's New in Python 2.2 — Python 3.6.5 ドキュメント 6417
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
されるのか定義出来ます。 2.1 までの Python では for item in obj が動作するようにするための手段は普通、 __ge...
titem__() メソッドをおよそこのような具合に定義することで...
す: def __getitem__ ( self , index ): return < next item > __getitem...
ータは本質的に無意味です。そのクラスはおそらく __getitem__() 呼び出しの連続で呼ばれるたびに index を加算して...
- https://man.plustar.jp/python/whatsnew/2.2.html - [similar]
- 2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 6344
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...
" , . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_n...
" , . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_new = PyType_GenericNew , }; 注釈 上...
す。 . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , tp_basicsize は、新しい Custom インスタン...
きメモリがどのくらいなのかを知るためのものです。 tp_itemsize は可変サイズのオブジェクトでのみ使うものなので...
- https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
- 25.5. IDLE — Python 3.6.5 ドキュメント 6344
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
全て英語のため、以降メニュー項目説明の見出しでは、 "item [訳語]" の様式とします。 ) 25.5.1.1. File メニュー...
- https://man.plustar.jp/python/library/idle.html - [similar]
- 17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 6344
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
get ( ) ¶ キューから要素を削除して返します。 put ( item ) ¶ item をキューに追加します。 class multiprocess...
( arr2 ) >>> assert count == len ( arr1 ) * arr1 . itemsize >>> arr2 array('i', [0, 1, 2, 3, 4, 0, 0, 0, 0...
シに値を保存する (これはプロキシオブジェクトの __setitem__ を起動します) 場合はマネージャーを通して変更が伝...
ethod ( '__len__' ) 10 >>> l . _callmethod ( '__getitem__' , ( slice ( 2 , 7 ),)) # equivalent to l[2:7] [...
- https://man.plustar.jp/python/library/multiprocessing.html - [similar]