Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 61 - 70 of about 171 for New (0.027 sec.)
プログラミング FAQ — Python 3.6.5 ドキュメント 5574
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... None ): if mydict is None : mydict = {} # create a new dict for local namespace この性質が便利なこともあり ... x = x + 1 # 5 can't be mutated, we are creating a new object here >>> x 6 >>> y 5 この場合ご覧の通り x と ... タプルを返すことによって: def func2 ( a , b ): a = 'new-value' # a and b are local names b = b + 1 # assig ... ned to new objects return a , b # return new values x , y = ' ...
https://man.plustar.jp/python/faq/programming.html - [similar]
3.6.5 Documentation 5574
ナビゲーション 索引 モジュール | Python » 3.6.5 ドキュメント » Python 3.6.5 ドキュメント ようこそ ... hon 3.6.5 ドキュメントへ。 ドキュメント一覧 What's new in Python 3.6? あるいは2.0からの すべての "What's ...
https://man.plustar.jp/python/index.html - [similar]
19.1. email --- 電子メールと MIME 処理のためのパッケージ — Python 3.6.5 ドキュ... 5574
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... questions about an existing email, to construct a new email, or to add or remove email subcomponents tha ... asy to end up with messages that are not valid in one way or another.) The control component is the polic ... directly instantiating an EmailMessage to create a new email, or by parsing an input stream using a parse ... 変更: Docs reorganized and rewritten to promote the new EmailMessage / EmailPolicy API. email パッケージ文 ...
https://man.plustar.jp/python/library/email.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 5574
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... l = foo . copy () >>> with patch . dict ( foo , { 'newkey' : 'newvalue' }, clear = True ): ... assert foo ... == { 'newkey' : 'newvalue' } ... >>> assert foo == original ... tch , DEFAULT >>> def copy_call_args ( mock ): ... new_mock = Mock () ... def side_effect ( * args , ** k ... copy ( args ) ... kwargs = deepcopy ( kwargs ) ... new_mock ( * args , ** kwargs ) ... return DEFAULT ... ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
コードオブジェクト — Python 3.6.5 ドキュメント 5517
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... e variables)の数を返します。 PyCodeObject * PyCode_New ( int argcount , int kwonlyargcount , int nlocals ... のコードオブジェクトが必要な場合は、代わりに PyCode_NewEmpty() を利用してください。バイトコードは頻繁に変更 ... されるため、 PyCode_New() を直接呼び出すと、 Python の詳細バージョンに依存 ... してしまうことがあります。 PyCodeObject * PyCode_NewEmpty ( const char *filename , const char *funcname ...
https://man.plustar.jp/python/c-api/code.html - [similar]
拡張と埋め込み FAQ — Python 3.6.5 ドキュメント 5517
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... るにはどうしますか? 未定義の g++ シンボル __builtin_new や __pure_virtual を見つけるにはどうしますか? メソ ... b , * obj , * dum ; Py_Initialize (); loc = PyDict_New (); glb = PyDict_New (); PyDict_SetItemString ( gl ... (); exit ( 0 ); } 未定義の g++ シンボル __builtin_new や __pure_virtual を見つけるにはどうしますか? ¶ g+ ... るにはどうしますか? 未定義の g++ シンボル __builtin_new や __pure_virtual を見つけるにはどうしますか? メソ ...
https://man.plustar.jp/python/faq/extending.html - [similar]
29.12. inspect --- 活動中のオブジェクトの情報を取得する — Python 3.6.5 ドキュメ... 5517
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... *[, parameters][, return_annotation] ) ¶ Create a new Signature instance based on the instance replace w ... a , b ): ... pass >>> sig = signature ( test ) >>> new_sig = sig . replace ( return_annotation = "new ret ... urn anno" ) >>> str ( new_sig ) "(a, b) -> 'new return anno'" classmethod fr ... ame][, kind][, default][, annotation] ) ¶ Create a new Parameter instance based on the instance replaced ...
https://man.plustar.jp/python/library/inspect.html - [similar]
12.1. pickle --- Python オブジェクトの直列化 — Python 3.6.5 ドキュメント 5517
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... t__ ) def load ( cls , attributes ): obj = cls . __new__ ( cls ) obj . __dict__ . update ( attributes ) r ... ルトの振る舞いを変更することができます: object. __getnewargs_ex__ ( ) ¶ In protocols 2 and newer, classes t ... hat implements the __getnewargs_ex__() method can dictate the values passed to ... the __new__() method upon unpickling. The method must return ...
https://man.plustar.jp/python/library/pickle.html - [similar]
What's New In Python 3.3 — Python 3.6.5 ドキュメント 5517
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... n » What's New In Python 3.3 ¶ この記事では 3.2 と比較した Python ... よりも前の書式化をサポートしました。(---訳注: What's New in Python 3.2 での変更も参照してみてください。---) ... であり、また、 bytes API を完全にする (訳注: What's New in Python 3.2 での email の変更内容参照) ものです。 ... s them all at once when end_headers() is called. A new method flush_headers() can be used to directly man ...
https://man.plustar.jp/python/whatsnew/3.3.html - [similar]
カプセル — Python 3.6.5 ドキュメント 5472
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... _Destructor コールバックの動作については PyCapsule_New() を参照してください。 int PyCapsule_CheckExact ( ... だったときに true を返します。 PyObject * PyCapsule_New ( void *pointer , const char *name , PyCapsule_Des ... tructor destructor ) ¶ Return value: New reference. pointer を格納する PyCapsule を作成しま ...
https://man.plustar.jp/python/c-api/capsule.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 NEXT