Python 3.6.5 ドキュメント 検索
Results of 11 - 20 of about 40 for assert (0.042 sec.)
- 12.5. dbm --- Unix "データベース" へのインタフェース — Python 3.6.5 ドキュメン... 7520
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
rk' # Note that the keys are considered bytes now. assert db [ b 'www.python.org' ] == b 'Python Website' #...
Notice how the value is now in bytes. assert db [ 'www.cnn.com' ] == b 'Cable News Network' # O...
- https://man.plustar.jp/python/library/dbm.html - [similar]
- 17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 7520
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
rr1 ) >>> count = b . recv_bytes_into ( arr2 ) >>> assert count == len ( arr1 ) * arr1 . itemsize >>> arr2 a...
か、あるいはアンロック (未所有) 状態で呼ばれた場合、 AssertionError が送出されます。同じ状況での threading.RLo...
たかどうかを返します。その結果が返せる状態でない場合 AssertionError が発生します。 次の例はプールの使用例を紹介...
* 20 ) f1 = manager . Foo1 () f1 . f () f1 . g () assert not hasattr ( f1 , '_h' ) assert sorted ( f1 . _ex...
- https://man.plustar.jp/python/library/multiprocessing.html - [similar]
- 3. 組み込み定数 — Python 3.6.5 ドキュメント 7457
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
オプションを有効にして開始されたのでなければ真です。 assert 文も参照して下さい。 注釈 名前 None 、 False 、 Tr...
- https://man.plustar.jp/python/library/constants.html - [similar]
- 29.12. inspect --- 活動中のオブジェクトの情報を取得する — Python 3.6.5 ドキュメ... 7457
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
): yield @types . coroutine def gen_coro (): yield assert not isawaitable ( gen ()) assert isawaitable ( gen...
): pass sig = MySignature . from_callable ( min ) assert isinstance ( sig , MySignature ) バージョン 3.5 で...
- https://man.plustar.jp/python/library/inspect.html - [similar]
- Python 言語リファレンス — Python 3.6.5 ドキュメント 7457
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ
...
statement) 7.2. 代入文 (assignment statement) 7.3. assert 文 7.4. pass 文 7.5. del 文 7.6. return 文 7.7. yi...
- https://man.plustar.jp/python/reference/index.html - [similar]
- Logging クックブック — Python 3.6.5 ドキュメント 7411
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg
...
rite_line ( 'Calling undecorated foo with False' ) assert not foo ( False ) write_line ( 'Calling undecorate...
d foo with True' ) assert foo ( True ) write_line ( 'Calling decorated foo w...
ith False' ) assert not decorated_foo ( False ) write_line ( 'Calling...
decorated foo with True' ) assert decorated_foo ( True ) When this script is run, th...
- https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
- 16.5. getopt --- C 言語スタイルのコマンドラインオプションパーサ — Python 3.6.5 ... 7411
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
elif o in ( "-o" , "--output" ): output = a else : assert False , "unhandled option" # ... if __name__ == "_...
- https://man.plustar.jp/python/library/getopt.html - [similar]
- 6. モジュール (module) — Python 3.6.5 ドキュメント 7411
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
は -OO スイッチを使うことができます。 -O スイッチは assert ステートメントを除去し、 -OO スイッチは assert ステ...
builtins >>> dir ( builtins ) ['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException', 'Bloc...
- https://man.plustar.jp/python/tutorial/modules.html - [similar]
- 8.1. datetime --- 基本的な日付型および時間型 — Python 3.6.5 ドキュメント 7348
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
calTimezone ( tzinfo ): def fromutc ( self , dt ): assert dt . tzinfo is self stamp = ( dt - datetime ( 1970...
ses a datetime with dt.tzinfo is self. return ZERO assert dt . tzinfo is self start , end = us_dst_range ( d...
DST is off. return ZERO def fromutc ( self , dt ): assert dt . tzinfo is self start , end = us_dst_range ( d...
- https://man.plustar.jp/python/library/datetime.html - [similar]
- 超高水準レイヤ — Python 3.6.5 ドキュメント 7301
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
的なレベルは、 0 (最適化なし、 __debug__ は真)、 1 (assert は取り除かれ、 __debug__ は偽)、 2 (docstring も取...
- https://man.plustar.jp/python/c-api/veryhigh.html - [similar]