Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 75 for ATTRIBUTE (0.030 sec.)
11.4. stat --- stat() の結果を解釈する — Python 3.6.5 ドキュメント 13253
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... てください。 Windows では、 os.stat() が返す st_file_attributes メンバー内のビットを検証する際に、以下のファイル属 ... API documentation を参照してください。 stat. FILE_ATTRIBUTE_ARCHIVE ¶ stat. FILE_ATTRIBUTE_COMPRESSED ¶ stat. ... FILE_ATTRIBUTE_DEVICE ¶ stat. FILE_ATTRIBUTE_DIRECTORY ¶ stat. FI ... LE_ATTRIBUTE_ENCRYPTED ¶ stat. FILE_ATTRIBUTE_HIDDEN ¶ stat. FI ...
https://man.plustar.jp/python/library/stat.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 13142
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... agicMock name='mock.method()' id='...'> >>> mock . attribute . method ( 10 , x = 53 ) <MagicMock name='mock.att ... ='...'> >>> mock . mock_calls [call.method(), call.attribute.method(10, x=53)] mock_calls に対して assert すると ... できます: >>> expected = [ call . method (), call . attribute . method ( 10 , x = 53 )] >>> mock . mock_calls == ... ブジェクトに存在しないメソッドや属性にアクセスすると AttributeError を発生させます。定義となるクラスの実装を変更し ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 10530
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... self -> first == NULL ) { PyErr_SetString ( PyExc_AttributeError , "first" ); return NULL ; } if ( self -> las ... t == NULL ) { PyErr_SetString ( PyExc_AttributeError , "last" ); return NULL ; } return PyUnicode_ ... が入っています。 The Custom type now has three data attributes in its C struct, first , last , and number . The ... trings containing first and last names. The number attribute is a C integer. これにしたがうと、オブジェクトの構 ...
https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
19.1.4. email.policy: ポリシーオブジェクト — Python 3.6.5 ドキュメント 9794
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... を提供します。 A Policy object encapsulates a set of attributes and methods that control the behavior of various ... t is a copy of the original but with the specified attributes values changed. As an example, the following code ... l override the default value for the corresponding attribute. This class defines the following properties, and ... lone ( **kw ) ¶ Return a new Policy instance whose attributes have the same values as the current instance, exc ...
https://man.plustar.jp/python/library/email.policy.html - [similar]
26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 9072
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... にないモックの属性やメソッドにアクセスを試みた場合、 AttributeError で失敗します。 patch() デコレータ / コンテキス ... ドは除く) 。このリストにない属性にアクセスした際には AttributeError が発生します。 spec が (文字列のリストではなく ... に存在しない属性に対し 設定 や取得をしようとした際に AttributeError が発生します。 side_effect : モックが呼び出さ ... では、何らかの属性が assert または assret で始まると AttributeError が上がります。 unsafe=True を渡すと、これらの ...
https://man.plustar.jp/python/library/unittest.mock.html - [similar]
19.1.6. email.headerregistry: カスタムヘッダーオブジェクト — Python 3.6.5 ドキ... 8960
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... w first document the header base classes and their attributes, followed by the API for modifying the behavior o ... one means unlimited. The BaseHeader value for this attribute is None ; it is expected that specialized header c ... vide an init method if it wishes to set additional attributes beyond those provided by BaseHeader itself. Such ... nized as a valid date of one form or another, this attribute will contain a datetime instance representing that ...
https://man.plustar.jp/python/library/email.headerregistry.html - [similar]
21.24. http.cookiejar --- HTTP クライアント用の Cookie 処理 — Python 3.6.5 ドキ... 8863
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... eived in a Set-Cookie header with a version cookie-attribute of 1) are treated according to the RFC 2965 rules. ... stance to Netscape cookies, by setting the version attribute of the Cookie instance to 0. DefaultCookiePolicy a ... () , add_unredirected_header() and origin_req_host attribute as documented by urllib.request . バージョン 3.3 で ... 変更: request object needs origin_req_host attribute. Dependency on a deprecated method get_origin_req_ ...
https://man.plustar.jp/python/library/http.cookiejar.html - [similar]
16.1. os --- 雑多なオペレーティングシステムインタフェース — Python 3.6.5 ドキュ... 8752
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... PathLike interface), the type of the name and path attributes of each os.DirEntry will be bytes ; in all other ... 相対的な、エントリのベースファイル名です。 The name attribute will be bytes if the scandir() path argument is of ... 引数が絶対パスの場合にのみ、絶対パスです。 The path attribute will be bytes if the scandir() path argument is of ... dows システムでは以下の属性も利用できます: st_file_attributes ¶ Windows のファイルの属性。 GetFileInformationBy ...
https://man.plustar.jp/python/library/os.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 8752
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... r words, instances of descriptors can now know the attribute name of the descriptor in the owner class: class I ... eserving mapping. 参考 PEP 520 -- Preserving Class Attribute Definition Order PEP written and implemented by Er ... which, when specified, is used for the __module__ attribute of the returned named tuple class. (Contributed by ... ¶ The datetime and time classes have the new fold attribute used to disambiguate local time when necessary. Ma ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
共通のオブジェクト構造体 (common object structure) — Python 3.6.5 ドキュメント 8016
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... だったときに None を返すのに対し、 T_OBJECT_EX は AttributeError を送出する点です。 T_OBJECT_EX は T_OBJECT よ ... tp_getset slot. フィールド C の型 意味 名前 char * attribute name get getter C Function to get the attribute... 合 setter optional C function to set or delete the attribute, if omitted the attribute is readonly doc char * o ... )( PyObject * , PyObject * , void * ); In case the attribute should be deleted the second parameter is NULL . S ...
https://man.plustar.jp/python/c-api/structures.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT