Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 76 for instance (0.067 sec.)
21.27. xmlrpc.server --- 基本的なXML-RPCサーバー — Python 3.6.5 ドキュメント 13936
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... んでいても構いません。 SimpleXMLRPCServer. register_instance ( instance , allow_dotted_names=False ) ¶ オブジェ ... 登録されていないメソッド名を公開するのに使われます。 instance に _dispatch() メソッドがあった場合、リクエストされ ... h() の返り値は結果としてクライアントに返されます。 instance に _dispatch() メソッドがない場合、リクエストされた ... _function ( adder_function , 'add' ) # Register an instance; all the methods of the instance are # published a ...
https://man.plustar.jp/python/library/xmlrpc.server.html - [similar]
19.1.2. email.parser: 電子メールメッセージのパース — Python 3.6.5 ドキュメント 10680
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... he parser will return to you the root EmailMessage instance of the object structure. For simple, non-MIME mess ... he BytesFeedParser 's API is simple; you create an instance, feed it a bunch of bytes until there's no more to ... olicy=policy.compat32 ) ¶ Create a BytesFeedParser instance. Optional _factory is a no-argument callable; if n ... , policy=policy.compat32 ) ¶ Create a BytesParser instance. The _class and policy arguments have the same mea ...
https://man.plustar.jp/python/library/email.parser.html - [similar]
19.1.4. email.policy: ポリシーオブジェクト — Python 3.6.5 ドキュメント 9988
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... components of the email package during use. Policy instances can be passed to various classes and methods in t ... Compat32 policy, via its corresponding pre-defined instance compat32 . This policy provides for complete backw ... age is the EmailPolicy policy, via its pre-defined instance default . When a Message or EmailMessage object is ... atible behavior and features, respectively. Policy instances are immutable, but they can be cloned, accepting ...
https://man.plustar.jp/python/library/email.policy.html - [similar]
12.2. copyreg --- pickle サポート関数を登録する — Python 3.6.5 ドキュメント 9129
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... >>> def pickle_c ( c ): ... print ( "pickling a C instance..." ) ... return C , ( c . a ,) ... >>> copyreg . ... c = C ( 1 ) >>> d = copy . copy ( c ) pickling a C instance... >>> p = pickle . dumps ( c ) pickling a C insta ...
https://man.plustar.jp/python/library/copyreg.html - [similar]
19.1.6. email.headerregistry: カスタムヘッダーオブジェクト — Python 3.6.5 ドキ... 8962
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... se is preserved. defects ¶ A tuple of HeaderDefect instances reporting any RFC compliance problems found durin ... ues. BaseHeader 's __new__ then creates the header instance, and calls its init method. The specialized class ... or another, this attribute will contain a datetime instance representing that date. If the timezone of the inp ... When creating a DateHeader , value may be datetime instance. This means, for example, that the following code ...
https://man.plustar.jp/python/library/email.headerregistry.html - [similar]
インスタンスメソッドオブジェクト(Instance Method Objects) — Python 3.6.5 ドキュ... 8782
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... object) レイヤ » インスタンスメソッドオブジェクト(Instance Method Objects) ¶ インスタンスメソッドとは PyCFunc ... , class) の呼び出しを置き換えます。 PyTypeObject PyInstanceMethod_Type ¶ PyTypeObject のインスタンスは Python ... これは Python のプログラムには公開されません。 int PyInstanceMethod_Check ( PyObject *o ) ¶ o がインスタンスメソ ... ッドオブジェクト ( PyInstanceMethod_Type 型である) 場合に真を返します。パラメータ ...
https://man.plustar.jp/python/c-api/method.html - [similar]
21.24. http.cookiejar --- HTTP クライアント用の Cookie 処理 — Python 3.6.5 ドキ... 8782
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... RFC 2109 cookies are 'downgraded' by the CookieJar instance to Netscape cookies, by setting the version attrib ... ute of the Cookie instance to 0. DefaultCookiePolicy also provides some param ... users of http.cookiejar construct their own Cookie instances. Instead, if necessary, call make_cookies() on a ... CookieJar instance. 参考 urllib.request モジュール クッキーの自動処理 ...
https://man.plustar.jp/python/library/http.cookiejar.html - [similar]
2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 8616
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... t not be CustomType , because the object may be an instance of a subclass. 注釈 The explicit cast to destructo ... the type was called, and is expected to return the instance created. tp_new handlers always accept positional ... ccepts arguments to provide initial values for our instance: static int Custom_init ( CustomObject * self , Py ... le by default doesn't call __init__() on unpickled instances). It can also be called multiple times. Anyone ca ...
https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
19.1.3. email.generator: MIME 文書の生成 — Python 3.6.5 ドキュメント 8616
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... the output file specified when the BytesGenerator instance was created. If the policy option cte_type is 8bit ... Return an independent clone of this BytesGenerator instance with the exact same option settings, and fp as the ... sg to the output file specified when the Generator instance was created. If the policy option cte_type is 8bit ... ) ¶ Return an independent clone of this Generator instance with the exact same options, and fp as the new out ...
https://man.plustar.jp/python/library/email.generator.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 8270
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... カスタマイズできます。 >>> def some_function (): ... instance = module . Foo () ... return instance . method () ... ... >>> with patch ( 'module.Foo' ) as mock : ... instance = mock . return_value ... instance . method . retu ... atching the method on the class rather than on the instance). I needed self to be passed in as the first argum ... oesn't become a bound method when fetched from the instance, and so it doesn't get self passed in. The workaro ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT