Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 30 for static (0.091 sec.)
10. API リファレンス — Python 3.6.5 ドキュメント 7684
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... せん。 失敗すると CompileError を起こします。 create_static_lib ( objects , output_libname [ , output_dir=None ... で意味があるようです。) debug は compile() や create_static_lib() と同じですが、少しだけ違いがあり、( create_s ... 返ります。 library_filename ( libname [ , lib_type='static' , strip_dir=0 , output_dir='' ] ) ¶ 現在のプラット ... ライブラリファイル名を返します。 Unixで lib_type が 'static' の場合、 liblibname.a の形式を返し、 lib_type が ...
https://man.plustar.jp/python/distutils/apiref.html - [similar]
26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 7619
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... class_method' ) ... @patch . object ( SomeClass , 'static_method' ) ... def test ( mock1 , mock2 ): ... asse ... rt SomeClass . static_method is mock1 ... assert SomeClass . class_metho ... d is mock2 ... SomeClass . static_method ( 'foo' ) ... SomeClass . class_method ( 'b ... ch.object はどちらも デスクリプタ (クラスメソッド、static メソッド、プロパティ) を正しく patch できます。デス ...
https://man.plustar.jp/python/library/unittest.mock.html - [similar]
型オブジェクト — Python 3.6.5 ドキュメント 7554
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... thread 拡張モジュールの local_traverse() 関数です: static int local_traverse ( localobject * self , visitpro ... れらのメンバへのポインタに NULL をセットすべきです: static int local_clear ( localobject * self ) { Py_CLEAR ... ないファイナライザを書くには次の方法が推奨されます: static void local_finalize ( PyObject * self ) { PyObject ...
https://man.plustar.jp/python/c-api/typeobj.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 7554
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ython can now be built --with-dtrace which enables static markers for the following events in the interprete ... HECKING constant that is assumed to be True by the static type chekers, but is False at runtime. (Contribute ... ( 'UserId' , int ) some_id = UserId ( 524313 ) The static type checker will treat the new type as if it were ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
循環参照ガベージコレクションをサポートする — Python 3.6.5 ドキュメント 7489
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... を使うと、 tp_traverse ハンドラは次のようになります: static int my_traverse ( Noddy * self , visitproc visit , ...
https://man.plustar.jp/python/c-api/gcsupport.html - [similar]
26.1. typing --- 型ヒントのサポート — Python 3.6.5 ドキュメント 7489
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... r , servers : List [ Server ]) -> None : ... # The static type checker will treat the previous type signatur ... す。 def legacy_parser ( text ): ... return data # A static type checker will treat the above # as having the ...
https://man.plustar.jp/python/library/typing.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 7489
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... t . TestCase ): ... @patch . object ( SomeClass , 'static_method' ) ... def test_something ( self , mock_met ... hod ): ... SomeClass . static_method () ... mock_method . assert_called_with () ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
デスクリプタ HowTo ガイド — Python 3.6.5 ドキュメント 7424
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » デス ... ividual function calls. Properties, bound methods, static methods, and class methods are all based on the de ... object ): ... def f ( x ): ... print ( x ) ... f = staticmethod ( f ) ... >>> print ( E . f ( 3 )) 3 >>> pri ... ータデスクリプタプロトコルを使うと、pure Python 版の staticmethod() は以下のようになります: class StaticMethod ... ( object ): "Emulate PyStaticMethod_Type() in Objects/funcobject.c" def __init__ ...
https://man.plustar.jp/python/howto/descriptor.html - [similar]
6.2. re --- 正規表現操作 — Python 3.6.5 ドキュメント 7424
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ef\s+([a-zA-Z_][a-zA-Z_0-9]*)\s*\(\s*\):' , ... r 'static PyObject*\npy_\1(void)\n{' , ... 'def myfunc():' ) ... 'static PyObject*\npy_myfunc(void)\n{' もし repl が関数であ ...
https://man.plustar.jp/python/library/re.html - [similar]
4. 組み込み型 — Python 3.6.5 ドキュメント 7424
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... w.example.com' . lstrip ( 'cmowz.' ) 'example.com' static str. maketrans ( x [ , y [ , z ] ] ) ¶ この静的メソ ... する bytes または bytearray オブジェクトとなります。 static bytes. maketrans ( from , to ) ¶ static bytearray. ...
https://man.plustar.jp/python/library/stdtypes.html - [similar]
PREV 1 2 3 NEXT