per page, with , order by , clip by
Results of 1 - 10 of about 206 for three (0.013 sec.)
enum --- 列挙型のサポート — Python 3.14.8 ドキュメント 10098
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » enum --- 列挙型のサポート テーマ 自動 ライト ダーク | enum --- 列挙型のサポート ¶ Added in version 3.4. ソースコード: Li ... は、次の最大の2のべき乗となります。 This method may be overridden, e.g.: >>> from enum import auto , Enum >>> class PowersOfThree ( Enum ): ... @staticmethod ... def _generate_next_value_ ( name , start , count , last_values ): ... return 3 ** ( count ... + 1 ) ... FIRST = auto () ... SECOND = auto () ... >>> PowersOfThree . SECOND . value 9 Added in version 3.6. バージョン 3.13 で変更: 以前のバージョンでは最大の値ではなく最後に定義された値を使 ... value loses its enumeration status. >>> from enum import IntEnum >>> class Number ( IntEnum ): ... ONE = 1 ... TWO = 2 ... THREE = 3 ... >>> Number . THREE <Number.THREE: 3> >>> Number . ONE + Number . TWO 3 >>> Number . THREE + 5 8 >>> Number . THREE ...
https://man.mtool.work/python/3.14/library/enum.html
enum --- 列挙型のサポート — Python 3.14.8 ドキュメント 10098
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » enum --- 列挙型のサポート テーマ 自動 ライト ダーク | enum --- 列挙型のサポート ¶ Added in version 3.4. ソースコード: Li ... は、次の最大の2のべき乗となります。 This method may be overridden, e.g.: >>> from enum import auto , Enum >>> class PowersOfThree ( Enum ): ... @staticmethod ... def _generate_next_value_ ( name , start , count , last_values ): ... return 3 ** ( count ... + 1 ) ... FIRST = auto () ... SECOND = auto () ... >>> PowersOfThree . SECOND . value 9 Added in version 3.6. バージョン 3.13 で変更: 以前のバージョンでは最大の値ではなく最後に定義された値を使 ... value loses its enumeration status. >>> from enum import IntEnum >>> class Number ( IntEnum ): ... ONE = 1 ... TWO = 2 ... THREE = 3 ... >>> Number . THREE <Number.THREE: 3> >>> Number . ONE + Number . TWO 3 >>> Number . THREE + 5 8 >>> Number . THREE ...
https://man.mtool.work/python/3.14/library/enum.html
組み込み型 — Python 3.14.8 ドキュメント 9842
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主 ... 指定した文字列そのものを接頭辞として削除するメソッドについては、 str.removeprefix() を参照してください。使用例: >>> 'Arthur: three!' . lstrip ( 'Arthur: ' ) 'ee!' >>> 'Arthur: three!' . removeprefix ( 'Arthur: ' ) 'three!' static str. maketrans ( dict , ... 、指定した文字列そのものを接頭辞として削除するメソッドについては、 removeprefix() を参照してください。使用例: >>> b 'Arthur: three!' . lstrip ( b 'Arthur: ' ) b'ee!' >>> b 'Arthur: three!' . removeprefix ( b 'Arthur: ' ) b'three!' 注釈 bytearray のこのメ ... illustrate dictionary creation and equality, the following examples all return a dictionary equal to {"one": 1, "two": 2, "three": 3} : >>> a = dict ( one = 1 , two = 2 , three = 3 ) >>> b = { 'one' : 1 , 'two' : 2 , 'three' : 3 } >>> c = dict ( zip ( ...
https://man.mtool.work/python/3.14/builtins/stdtypes.html
2. 字句解析 — Python 3.14.8 ドキュメント 9842
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens ... ist of such sequences, and more details. 2.5.1. Triple-quoted strings ¶ Strings can also be enclosed in matching groups of three single or double quotes. These are generally referred to as triple-quoted strings : """This is a triple-quoted string.""" ... In triple-quoted literals, unescaped quotes are allowed (and are retained), except that three unescaped quotes in a row terminate the literal, if they are of the same kind ( ' or " ) used at the start: """This string ... 5.4.3. Octal character ¶ The sequence \ ooo denotes a character with the octal (base 8) value ooo : >>> ' \120 ' 'P' Up to three octal digits (0 through 7) are accepted. In a bytes literal, character means a byte with the given value. In a string lite ...
https://man.mtool.work/python/3.14/reference/lexical_analysis.html
2. 字句解析 — Python 3.14.8 ドキュメント 9842
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens ... ist of such sequences, and more details. 2.5.1. Triple-quoted strings ¶ Strings can also be enclosed in matching groups of three single or double quotes. These are generally referred to as triple-quoted strings : """This is a triple-quoted string.""" ... In triple-quoted literals, unescaped quotes are allowed (and are retained), except that three unescaped quotes in a row terminate the literal, if they are of the same kind ( ' or " ) used at the start: """This string ... 5.4.3. Octal character ¶ The sequence \ ooo denotes a character with the octal (base 8) value ooo : >>> ' \120 ' 'P' Up to three octal digits (0 through 7) are accepted. In a bytes literal, character means a byte with the given value. In a string lite ...
https://man.mtool.work/python/3.14/reference/lexical_analysis.html
colorsys --- 色体系間の変換 — Python 3.14.8 ドキュメント 8106
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » マルチメディアサービス » colorsys --- 色体系間の変換 テーマ 自動 ライト ダーク | colorsys --- 色体系間の変換 ¶ ソースコード: Lib/co ... conversions of color values between colors expressed in the RGB (Red Green Blue) color space used in computer monitors and three other coordinate systems: YIQ, HLS (Hue Lightness Saturation) and HSV (Hue Saturation Value). Coordinates in all of these ... aturation coordinates https 体系 ソースコード bidirectional conversions colors expressed Green Blue used computer monitors three systems 前のトピックへ wave --- WAV ファイルの読み書き 次のトピックへ 国際化 This page Report a bug Improve this page Show ...
https://man.mtool.work/python/3.14/library/colorsys.html
dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 7850
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ ... is re-raised. Added in version 3.8. バージョン 3.11 で変更: Exception representation on the stack now consist of one, not three, items. CLEANUP_THROW ¶ Handles an exception raised during a throw() or close() call through the current frame. If STACK[- ... 1] is an instance of StopIteration , pop three values from the stack and push its value member. Otherwise, re-raise STACK[-1] . Added in version 3.12. その他の命令コード ... used to restore the exception state. バージョン 3.11 で変更: Exception representation on the stack now consist of one, not three, items. RERAISE ¶ Re-raises the exception currently on top of the stack. If oparg is non-zero, pops an additional value fr ...
https://man.mtool.work/python/3.14/library/dis.html
dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 7850
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ ... is re-raised. Added in version 3.8. バージョン 3.11 で変更: Exception representation on the stack now consist of one, not three, items. CLEANUP_THROW ¶ Handles an exception raised during a throw() or close() call through the current frame. If STACK[- ... 1] is an instance of StopIteration , pop three values from the stack and push its value member. Otherwise, re-raise STACK[-1] . Added in version 3.12. その他の命令コード ... used to restore the exception state. バージョン 3.11 で変更: Exception representation on the stack now consist of one, not three, items. RERAISE ¶ Re-raises the exception currently on top of the stack. If oparg is non-zero, pops an additional value fr ...
https://man.mtool.work/python/3.14/library/dis.html
A Conceptual Overview of asyncio — Python 3.14.8 ドキュメント 7605
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » A Conceptual Overview of asyncio テーマ 自動 ライト ダーク | A Conceptual Overview of asyncio ¶ This HOWTO article seeks to help you build a sturd ... t loop. Then, coro_a() is repeatedly awaited. Control never cedes to the event loop, which is why we see the output of all three coro_a() invocations before coro_b() 's output: I am coro_a(). Hi! I am coro_a(). Hi! I am coro_a(). Hi! I am coro_b(). I ... the task created by asyncio.create_task , which wraps the async_sleep(3) coroutine. We want that task to finish only after three seconds have elapsed, but without preventing other tasks from running. async def other_work (): print ( "I like work. Work ... s only invoked once per cycle of the event loop, you'd be correct to note that this asynchronous sleep will sleep at least three seconds, rather than exactly three seconds. Note this is also true of asyncio.sleep . class YieldToEventLoop : def __await ...
https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
A Conceptual Overview of asyncio — Python 3.14.8 ドキュメント 7605
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » A Conceptual Overview of asyncio テーマ 自動 ライト ダーク | A Conceptual Overview of asyncio ¶ This HOWTO article seeks to help you build a sturd ... t loop. Then, coro_a() is repeatedly awaited. Control never cedes to the event loop, which is why we see the output of all three coro_a() invocations before coro_b() 's output: I am coro_a(). Hi! I am coro_a(). Hi! I am coro_a(). Hi! I am coro_b(). I ... the task created by asyncio.create_task , which wraps the async_sleep(3) coroutine. We want that task to finish only after three seconds have elapsed, but without preventing other tasks from running. async def other_work (): print ( "I like work. Work ... s only invoked once per cycle of the event loop, you'd be correct to note that this asynchronous sleep will sleep at least three seconds, rather than exactly three seconds. Note this is also true of asyncio.sleep . class YieldToEventLoop : def __await ...
https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT