per page, with , order by , clip by
Results of 1 - 10 of about 58 for switch (0.006 sec.)
Extending — Python 3.14.8 ドキュメント 11402
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Extending テーマ 自動 ライト ダーク | Extending ¶ The main direction fo ... internal structures. The function should be called when a task is about to finish. asyncio. _enter_task ( loop , task ) ¶ Switch the current task to the task argument. Call the function just before executing a portion of embedded coroutine ( coroutine ... .send() or coroutine.throw() ). asyncio. _leave_task ( loop , task ) ¶ Switch the current task back from task to None . Call the function just after coroutine.send() or coroutine.throw() execution. 関 ...
https://man.mtool.work/python/3.14/library/asyncio-extending.html
Extending — Python 3.14.8 ドキュメント 11402
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Extending テーマ 自動 ライト ダーク | Extending ¶ The main direction fo ... internal structures. The function should be called when a task is about to finish. asyncio. _enter_task ( loop , task ) ¶ Switch the current task to the task argument. Call the function just before executing a portion of embedded coroutine ( coroutine ... .send() or coroutine.throw() ). asyncio. _leave_task ( loop , task ) ¶ Switch the current task back from task to None . Call the function just after coroutine.send() or coroutine.throw() execution. 関 ...
https://man.mtool.work/python/3.14/library/asyncio-extending.html
デザインと歴史 FAQ — Python 3.14.8 ドキュメント 10231
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python よくある質問 » デザインと歴史 FAQ テーマ 自動 ライト ダーク | デザインと歴史 FAQ ¶ Python はなぜ文のグループ化にインデントを使うのですか? ¶ Guido van Ross ... も使えますが、これは getvalue() 呼び出しが十分安価な場合に限ります。なぜならそれが全ての場合に評価されるからです。 Python に switch や case 文がないのはなぜですか? ¶ In general, structured switch statements execute one block of code when an expression ha ... いと、信頼できないソースから値が与えられたときに、オブジェクトの任意のメソッドを呼び出す攻撃をされる可能性があります。 C の switch-case-default のような、フォールスルーのある switch を模倣することもできますが、はるかに難しいうえに必要性も少ないでしょう。 ... self 代入 ローカル 言語 実装 インスタンス 浮動 宣言 演算 小数 点数 明示 list スレッド コード 理由 mydict インデント タプル switch CPython 接頭辞 method グループ 目次 デザインと歴史 FAQ Python はなぜ文のグループ化にインデントを使うのですか? なぜ単純な算 ...
https://man.mtool.work/python/3.14/faq/design.html
デザインと歴史 FAQ — Python 3.14.8 ドキュメント 9455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python よくある質問 » デザインと歴史 FAQ テーマ 自動 ライト ダーク | デザインと歴史 FAQ ¶ Python はなぜ文のグループ化にインデントを使うのですか? ¶ Guido van Ross ... も使えますが、これは getvalue() 呼び出しが十分安価な場合に限ります。なぜならそれが全ての場合に評価されるからです。 Python に switch や case 文がないのはなぜですか? ¶ In general, structured switch statements execute one block of code when an expression ha ... いと、信頼できないソースから値が与えられたときに、オブジェクトの任意のメソッドを呼び出す攻撃をされる可能性があります。 C の switch-case-default のような、フォールスルーのある switch を模倣することもできますが、はるかに難しいうえに必要性も少ないでしょう。 ... ぜですか? join() がリストやタプルのメソッドではなく文字列のメソッドなのはなぜですか? 例外はどれくらい速いのですか? Python に switch や case 文がないのはなぜですか? OS 特有のスレッド実装に依らずにインタプリタでスレッドをエミュレートすることはできないのです ...
https://man.mtool.work/python/3.14/faq/design.html
Python モジュールのインストール — Python 3.14.8 ドキュメント 9455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python モジュールのインストール テーマ 自動 ライト ダーク | Python モジュールのインストール ¶ As a popular open source development project, Python has an active ... を並行して使うには? ¶ On Linux, macOS, and other POSIX systems, use the versioned Python commands in combination with the -m switch to run the appropriate copy of pip : python3 -m pip install SomePackage # default Python 3 python3.14 -m pip install SomeP ... ropriately versioned pip commands may also be available. On Windows, use the py Python launcher in combination with the -m switch: py -3 -m pip install SomePackage # default Python 3 py -3.14 -m pip install SomePackage # specifically Python 3.14 よくあ ...
https://man.mtool.work/python/3.14/installing/
concurrent.interpreters --- Multiple interpreters in the same process — Python ... 9455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreter ... provide a basic API for managing interpreters (AKA "subinterpreters") and running things in them. Running mostly involves switching to an interpreter (in the current thread) and calling a function in that execution context. For concurrency, interprete ... e they shouldn't have access to each other's data. Running in an Interpreter ¶ Running in a different interpreter involves switching to it in the current thread and then calling some function. The runtime will execute the function using the current int ... er's state. The concurrent.interpreters module provides a basic API for creating and managing interpreters, as well as the switch-and-call operation. No other threads are automatically started for the operation. There is a helper for that though. There ...
https://man.mtool.work/python/3.14/library/concurrent.interpreters.html
What's New In Python 3.10 — Python 3.14.8 ドキュメント 9455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と ... 行されません(no-op となります)。 宣言的なアプローチ ¶ 読者の中には、C、Java、JavaScript(およびその他多くの言語)における switch 文を通じて、対象(データオブジェクト)をリテラル(パターン)と照合する単純な例として、パターンマッチングに馴染みがある方も ... いるでしょう。多くの場合、 switch 文はオブジェクトや式を、リテラルを含む複数の case 文と比較するために使用されます。 より強力なパターンマッチングの例は、Sca ... al C API. (Contributed by Victor Stinner in bpo-42157 .) Removed the parser module, which was deprecated in 3.9 due to the switch to the new PEG parser, as well as all the C source and header files that were only being used by the old parser, including ...
https://man.mtool.work/python/3.14/whatsnew/3.10.html
Python モジュールのインストール — Python 3.14.8 ドキュメント 9455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python モジュールのインストール テーマ 自動 ライト ダーク | Python モジュールのインストール ¶ As a popular open source development project, Python has an active ... を並行して使うには? ¶ On Linux, macOS, and other POSIX systems, use the versioned Python commands in combination with the -m switch to run the appropriate copy of pip : python3 -m pip install SomePackage # default Python 3 python3.14 -m pip install SomeP ... ropriately versioned pip commands may also be available. On Windows, use the py Python launcher in combination with the -m switch: py -3 -m pip install SomePackage # default Python 3 py -3.14 -m pip install SomePackage # specifically Python 3.14 よくあ ...
https://man.mtool.work/python/3.14/installing/
concurrent.interpreters --- Multiple interpreters in the same process — Python ... 9455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreter ... provide a basic API for managing interpreters (AKA "subinterpreters") and running things in them. Running mostly involves switching to an interpreter (in the current thread) and calling a function in that execution context. For concurrency, interprete ... e they shouldn't have access to each other's data. Running in an Interpreter ¶ Running in a different interpreter involves switching to it in the current thread and then calling some function. The runtime will execute the function using the current int ... er's state. The concurrent.interpreters module provides a basic API for creating and managing interpreters, as well as the switch-and-call operation. No other threads are automatically started for the operation. There is a helper for that though. There ...
https://man.mtool.work/python/3.14/library/concurrent.interpreters.html
What's New in Python 2.6 — Python 3.14.8 ドキュメント 9455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.6 テーマ 自動 ライト ダーク | What's New in Python 2.6 ¶ 著者 : A.M. Kuchling (amk at amk.ca) This article explains ... ssible to do that, Python 2.6 tries to do what it can, adding compatibility functions in a future_builtins module and a -3 switch to warn about usages that will become unsupported in 3.0. multiprocessing や json といった、いくつか重要な新しいパッケージ ... ntics. Code written to be compatible with 3.0 can do from future_builtins import hex, map as necessary. A new command-line switch, -3 , enables warnings about features that will be removed in Python 3.0. You can run code with this switch to see how muc ... h work will be necessary to port code to 3.0. The value of this switch is available to Python code as the boolean variable sys.py3kwarning , and to C extension code as Py_Py3kWarningFlag . 参考 ...
https://man.mtool.work/python/3.14/whatsnew/2.6.html
PREV 1 2 3 4 5 6 NEXT