Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 139 for exception (0.029 sec.)
5. 組み込み例外 — Python 3.6.5 ドキュメント 15175
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 組み込み例外 ¶ Python において、すべての例外は BaseException から派生したクラスのインスタンスでなければなりませ ... ためにサブクラス化することができます。新しい例外は、 Exception クラスかそのサブクラスの一つから派生することをお勧 ... めします。 BaseException からは派生しないで下さい。例外を定義する上での詳し ... の例外は、主に他の例外の基底クラスとして使われます。 exception BaseException ¶ 全ての組み込み例外の基底クラスです ...
https://man.plustar.jp/python/library/exceptions.html - [similar]
18.5.9. asyncio での開発 — Python 3.6.5 ドキュメント 10184
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ンセルされた場合、 Future の set_result() または set_exception() メソッドは呼び出さないでください。例外を送出して ... on() で、Future の set_result() メソッドまたは set_exception() メソッドの呼び出しを直接スケジュールしないでくだ ... 外には sys.excepthook() を呼び出します。 Future.set_exception() が呼び出されたものの処理されなかった場合、 sys.e ... ort asyncio @asyncio . coroutine def bug (): raise Exception ( "not consumed" ) loop = asyncio . get_event_loop ...
https://man.plustar.jp/python/library/asyncio-dev.html - [similar]
29.9. traceback --- スタックトレースの表示または取得 — Python 3.6.5 ドキュメン... 9504
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 負の limit がサポートされました。 traceback. print_exception ( etype , value , tb , limit=None , file=None , ch ... xc ( limit=None , file=None , chain=True ) ¶ print_exception(*sys.exc_info(), limit, file, chain) の省略表現です ... st ( limit=None , file=None , chain=True ) ¶ print_exception(sys.last_type, sys.last_value, sys.last_traceback, ... に改行を含んでいるかもしれません。 traceback. format_exception_only ( etype , value ) ¶ トレースバックの例外部分を ...
https://man.plustar.jp/python/library/traceback.html - [similar]
21.12. http.client --- HTTP プロトコルクライアント — Python 3.6.5 ドキュメント 8763
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... されません。 状況に応じて、以下の例外が送出されます: exception http.client. HTTPException ¶ このモジュールにおける ... 他の例外クラスの基底クラスです。 Exception のサブクラスです。 exception http.client. NotConne ... cted ¶ HTTPException サブクラスです。 exception http.client. InvalidURL ... ¶ HTTPException のサブクラスです。ポート番号を指定したものの、その ...
https://man.plustar.jp/python/library/http.client.html - [similar]
18.5.3. タスクとコルーチン — Python 3.6.5 ドキュメント 8620
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ne, then returns the future's result, or raises an exception, which will be propagated. (If the future is cance ... lled, it will raise a CancelledError exception.) Note that tasks are futures, and everything said ... another coroutine to produce a result (or raise an exception, which will be propagated). The coroutine expressi ... ing for this one using await or yield from . raise exception -- raise an exception in the coroutine that is wai ...
https://man.plustar.jp/python/library/asyncio-task.html - [similar]
17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 8620
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... o limit to the wait time. If a func call raises an exception, then that exception will be raised when its value ... [ future ] try : data = future . result () except Exception as exc : print ( ' %r generated an exception: %s ' ... を送出した場合、このメソッドは同じ例外を送出します。 exception ( timeout=None ) ¶ 呼び出しによって送出された例外を ... ド中で呼び出されます。もし呼び出し可能オブジェクトが Exception のサブクラスを送出した場合、それはログに記録され無 ...
https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
8. エラーと例外 — Python 3.6.5 ドキュメント 8560
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... あります。それは 構文エラー (syntax error) と 例外 (exception) です。 8.1. 構文エラー ¶ 構文エラーは構文解析エラ ... するかもしれません。実行中に検出されたエラーは 例外 (exception) と呼ばれ、常に致命的とは限りません。これから、Pyt ... ) がどこにもなければ、 処理されない例外 (unhandled exception) となり、上記に示したようなメッセージを出して実行を ... コードは、 B, C, D を順序通りに出力します: class B ( Exception ): pass class C ( B ): pass class D ( C ): pass fo ...
https://man.plustar.jp/python/tutorial/errors.html - [similar]
20.9. xml.sax --- SAX2 パーサのサポート — Python 3.6.5 ドキュメント 8357
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 。この引数を省略した場合、全ての例外に対して SAXParseException が発生します。 戻り値はありません。すべての操作は渡 ... のほかに xml.sax は次の例外クラスも提供しています。 exception xml.sax. SAXException ( msg , exception=None ) ¶ X ... ラー内容を示す可読データにしてください。オプションの exception 引数は None にするか、パース用コードで捕捉されて情 ... さい。 このクラスはSAX 例外の基底クラスになります。 exception xml.sax. SAXParseException ( msg , exception , loc ...
https://man.plustar.jp/python/library/xml.sax.html - [similar]
19.1.5. email.errors: 例外及び欠陥クラス — Python 3.6.5 ドキュメント 8154
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... モジュールでは、以下の例外クラスが定義されています: exception email.errors. MessageError ¶ これは email パッケー ... 送出しうるすべての例外の基底クラスです。これは標準の Exception クラスから派生しており、追加のメソッドは定義されて ... いません。 exception email.errors. MessageParseError ¶ This is the base ... class for exceptions raised by the Parser class. It is derived from Me ...
https://man.plustar.jp/python/library/email.errors.html - [similar]
6. 式 (expression) — Python 3.6.5 ドキュメント 7677
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... osed, or raises GeneratorExit (by not catching the exception), close returns to its caller. If the generator yi ... Error is raised. If the generator raises any other exception, it is propagated to the caller. close() does noth ... ing if the generator has already exited due to an exception or normal exit. 6.2.9.2. 使用例 ¶ 以下の簡単なサン ... : ... try : ... value = ( yield value ) ... except Exception as e : ... value = e ... finally : ... print ( "Do ...
https://man.plustar.jp/python/reference/expressions.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT