Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 211 for OBJECT (0.059 sec.)
Python 3 への拡張モジュール移植 — Python 3.6.5 ドキュメント 6778
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... と呼ばれます。Python 2.6 以降には互換性ヘッダ bytesobject.h が用意されており、 PyBytes 系の名前を PyString 系 ... lude "stdlib.h" #include "Python.h" #include "bytesobject.h" /* text example */ static PyObject * say_hello ... ( PyObject * self , PyObject * args ) { PyObject * name , * r ... } /* just a forward */ static char * do_encode ( PyObject * ); /* bytes example */ static PyObject * encode_ ...
https://man.plustar.jp/python/howto/cporting.html - [similar]
26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 6651
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ストマネージャーとして使用できます: >>> with patch . object ( ProductionClass , 'method' , return_value = None ... to make a series of assertions that reuse the same object. Note that reset_mock() doesn't clear the return v ... attach_mock() メソッドを呼び出します: >>> thing1 = object () >>> thing2 = object () >>> parent = MagicMock ( ... うために、 autospec=True の代わりに、 autospec=some_object と指定することができます。 デフォルトでは、 patch( ...
https://man.plustar.jp/python/library/unittest.mock.html - [similar]
2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 6619
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... ython ランタイムは Python の全てのオブジェクトを PyObject* 型の変数と見なします。 PyObject* は Python の全て ... ブジェクトの "基底型 (base type)" となっています。 PyObject 構造体自身は参照カウント ( reference count ) と、オ ... ブジェクトの "型オブジェクト (type object)" へのポインタのみを持ちます。 ここには動作が定義さ ... 扱いません。 #include <Python.h> typedef struct { PyObject_HEAD /* Type-specific fields go here. */ } CustomO ...
https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
デスクリプタオブジェクト (descriptor object) — Python 3.6.5 ドキュメント 6577
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... レンスマニュアル » 具象オブジェクト (concrete object) レイヤ » デスクリプタオブジェクト (descriptor obj ... ブジェクトは型オブジェクトの辞書内にあります。 PyTypeObject PyProperty_Type ¶ 組み込みデスクリプタ型の型オブジ ... ェクトです。 PyObject * PyDescr_NewGetSet ( PyTypeObject *type , struct ... tSetDef *getset ) ¶ Return value: New reference. PyObject * PyDescr_NewMember ( PyTypeObject *type , struct ...
https://man.plustar.jp/python/c-api/descriptor.html - [similar]
19.1.1. email.message: 電子メールメッセージの表現 — Python 3.6.5 ドキュメント 6577
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... message module. It is the base class for the email object model. EmailMessage provides the core functionalit ... payload may be a simple text message, or a binary object, or a structured sequence of sub-messages each wit ... . The conceptual model provided by an EmailMessage object is that of an ordered dictionary of headers couple ... essage, which might be a list of sub- EmailMessage objects. In addition to the normal dictionary methods for ...
https://man.plustar.jp/python/library/email.message.html - [similar]
イテレータオブジェクト (iterator object) — Python 3.6.5 ドキュメント 6291
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... レンスマニュアル » 具象オブジェクト (concrete object) レイヤ » イテレータオブジェクト (iterator object) ... チネル値が返されたときに反復処理を終了します。 PyTypeObject PySeqIter_Type ¶ PySeqIter_New() や、組み込みシーケ ... PySeqIter_Type の型が op のときに真を返します。 PyObject * PySeqIter_New ( PyObject *seq ) ¶ Return value: ... 作の際に IndexError を返したときに終了します。 PyTypeObject PyCallIter_Type ¶ PyCallIter_New() や、組み込み関数 ...
https://man.plustar.jp/python/c-api/iterator.html - [similar]
21.16. nntplib --- NNTP プロトコルクライアント — Python 3.6.5 ドキュメント 6165
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... usenetrc=False [ , timeout ] ) ¶ Return a new NNTP object, representing a connection to the NNTP server runn ... etrc=False [ , timeout ] ) ¶ Return a new NNTP_SSL object, representing an encrypted connection to the NNTP ... g on host host , listening at port port . NNTP_SSL objects have the same methods as NNTP objects. If port is ... ssl_context is also optional, and is a SSLContext object. Please read セキュリティで考慮すべき点 for best p ...
https://man.plustar.jp/python/library/nntplib.html - [similar]
スライスオブジェクト (slice object) — Python 3.6.5 ドキュメント 6080
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... レンスマニュアル » 具象オブジェクト (concrete object) レイヤ » スライスオブジェクト (slice object) ¶ Py ... TypeObject PySlice_Type ¶ スライスオブジェクトの型オブジェクト ... ice と同じオブジェクトです。 int PySlice_Check ( PyObject *ob ) ¶ ob がスライスオブジェクトの場合に真を返しま ... す; ob は NULL であってはなりません。 PyObject * PySlice_New ( PyObject *start , PyObject *stop , ...
https://man.plustar.jp/python/c-api/slice.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 6080
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... protocol has been implemented to support path-like objects . All standard library functions operating on pat ... have historically been represented as str or bytes objects. This has led to people who write code which oper ... ate on file system paths to assume that such objects are only one of those two types (an int represent ... Unfortunately that assumption prevents alternative object representations of file system paths like pathlib ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
オブジェクト実装サポート (object implementation support) — Python 3.6.5 ドキュ... 6038
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... レンスマニュアル » オブジェクト実装サポート (object implementation support) ¶ この章では、新しいオブジ ... 上にメモリ確保する 共通のオブジェクト構造体 (common object structure) 型オブジェクト 数値オブジェクト構造体 マ ... ブジェクト構造体 バッファオブジェクト構造体 (buffer object structure) async オブジェクト構造体 循環参照ガベー ...
https://man.plustar.jp/python/c-api/objimpl.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT