per page, with , order by , clip by
Results of 1 - 10 of about 466 for number (0.047 sec.)
timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 7881
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ ... Interface を使って実現することもできます: >>> import timeit >>> timeit . timeit ( '"-".join(str(n) for n in range(100))' , number = 10000 ) 0.3018611848820001 >>> timeit . timeit ( '"-".join([str(n) for n in range(100)])' , number = 10000 ) 0.272736879 ... 0656328 >>> timeit . timeit ( '"-".join(map(str, range(100)))' , number = 10000 ) 0.23702679807320237 呼び出し可能オブジェクトは Python Interface から渡すこともできます: >>> timeit . timeit ( la ... mbda : "-" . join ( map ( str , range ( 100 ))), number = 10000 ) 0.19665591977536678 ただし、 timeit() はコマンドラインインターフェイスを使った時だけ繰り返し回数を自動で決定する ...
https://man.mtool.work/python/3.14/library/timeit.html
timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 7881
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ ... Interface を使って実現することもできます: >>> import timeit >>> timeit . timeit ( '"-".join(str(n) for n in range(100))' , number = 10000 ) 0.3018611848820001 >>> timeit . timeit ( '"-".join([str(n) for n in range(100)])' , number = 10000 ) 0.272736879 ... 0656328 >>> timeit . timeit ( '"-".join(map(str, range(100)))' , number = 10000 ) 0.23702679807320237 呼び出し可能オブジェクトは Python Interface から渡すこともできます: >>> timeit . timeit ( la ... mbda : "-" . join ( map ( str , range ( 100 ))), number = 10000 ) 0.19665591977536678 ただし、 timeit() はコマンドラインインターフェイスを使った時だけ繰り返し回数を自動で決定する ...
https://man.mtool.work/python/3.14/library/timeit.html
変更履歴 — Python 3.14.8 ドキュメント 7710
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... at has a task with a name longer than 255 characters. gh-157660 : Fix _remote_debugging reporting errors or incorrect line numbers in free-threaded builds when a thread-local bytecode array grows or gains entries after being cached. gh-157672 : Fix tki ... line inside the parentheses starts with else of a conditional expression or with yield . gh-75487 : Fix saving a truncated number when an integer entry in the IDLE Settings dialog is blanked with the Backspace key. gh-74112 : Ctrl-C in the IDLE Shell n ... nk pointing outside the destination directory. This was a bypass of CVE 2025-4330 . gh-150743 : http.client now limits the number of chunked-response trailer lines it will read to 100, and the number of interim (1xx) responses it will skip to 100. A ma ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 7596
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... for offsetof() */ typedef struct { PyObject_HEAD PyObject * first ; /* first name */ PyObject * last ; /* last name */ int number ; } CustomObject ; static void Custom_dealloc ( PyObject * op ) { CustomObject * self = ( CustomObject * ) op ; Py_XDECREF ... last = Py_GetConstant ( Py_CONSTANT_EMPTY_STR ); if ( self -> last == NULL ) { Py_DECREF ( self ); return NULL ; } self -> number = 0 ; } return ( PyObject * ) self ; } static int Custom_init ( PyObject * op , PyObject * args , PyObject * kwds ) { Cust ... omObject * self = ( CustomObject * ) op ; static char * kwlist [] = { "first" , "last" , "number" , NULL }; PyObject * first = NULL , * last = NULL ; if ( ! PyArg_ParseTupleAndKeywords ( args , kwds , "|OOi" , kwlist , ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 7596
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... for offsetof() */ typedef struct { PyObject_HEAD PyObject * first ; /* first name */ PyObject * last ; /* last name */ int number ; } CustomObject ; static void Custom_dealloc ( PyObject * op ) { CustomObject * self = ( CustomObject * ) op ; Py_XDECREF ... last = Py_GetConstant ( Py_CONSTANT_EMPTY_STR ); if ( self -> last == NULL ) { Py_DECREF ( self ); return NULL ; } self -> number = 0 ; } return ( PyObject * ) self ; } static int Custom_init ( PyObject * op , PyObject * args , PyObject * kwds ) { Cust ... omObject * self = ( CustomObject * ) op ; static char * kwlist [] = { "first" , "last" , "number" , NULL }; PyObject * first = NULL , * last = NULL ; if ( ! PyArg_ParseTupleAndKeywords ( args , kwds , "|OOi" , kwlist , ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
複素数オブジェクト — Python 3.14.8 ドキュメント 7417
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 複素数オブジェクト テーマ 自動 ライト ダーク | 複素数オブジェクト ¶ Python's complex ... I: one is the Python object exposed to Python programs, and the other is a C structure which represents the actual complex number value. The API provides functions for working with both. C 構造体としての複素数 ¶ Note that the functions which accept the ... onsistent throughout the API. type Py_complex ¶ The C structure which corresponds to the value portion of a Python complex number object. Most of the functions for dealing with complex number objects use structures of this type as input or output value ... が正の実数でない場合は、このメソッドはゼロを返し、 errno に EDOM をセットします。 Set errno to ERANGE on overflows. Complex Numbers as Python Objects ¶ type PyComplexObject ¶ この PyObject のサブタイプは Python の複素数型を表現します。 PyTypeObject PyCo ...
https://man.mtool.work/python/3.14/c-api/complex.html
複素数オブジェクト — Python 3.14.8 ドキュメント 7417
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 複素数オブジェクト テーマ 自動 ライト ダーク | 複素数オブジェクト ¶ Python's complex ... I: one is the Python object exposed to Python programs, and the other is a C structure which represents the actual complex number value. The API provides functions for working with both. C 構造体としての複素数 ¶ Note that the functions which accept the ... onsistent throughout the API. type Py_complex ¶ The C structure which corresponds to the value portion of a Python complex number object. Most of the functions for dealing with complex number objects use structures of this type as input or output value ... が正の実数でない場合は、このメソッドはゼロを返し、 errno に EDOM をセットします。 Set errno to ERANGE on overflows. Complex Numbers as Python Objects ¶ type PyComplexObject ¶ この PyObject のサブタイプは Python の複素数型を表現します。 PyTypeObject PyCo ...
https://man.mtool.work/python/3.14/c-api/complex.html
10. 完全な文法仕様 — Python 3.14.8 ドキュメント 7133
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた ... pping_pattern | class_pattern # Literal patterns are used for equality and identity constraints literal_pattern : | signed_number ! ( '+' | '-' ) | complex_number | strings | 'None' | 'True' | 'False' # Literal expressions are used to restrict permitte ... d mapping pattern keys literal_expr : | signed_number ! ( '+' | '-' ) | complex_number | strings | 'None' | 'True' | 'False' complex_number : | signed_real_number '+' imaginary ... _number | signed_real_number '-' imaginary_number signed_number : | NUMBER | '-' NUMBER signed_real_number : | real_number | '-' r ...
https://man.mtool.work/python/3.14/reference/grammar.html
10. 完全な文法仕様 — Python 3.14.8 ドキュメント 7133
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた ... pping_pattern | class_pattern # Literal patterns are used for equality and identity constraints literal_pattern : | signed_number ! ( '+' | '-' ) | complex_number | strings | 'None' | 'True' | 'False' # Literal expressions are used to restrict permitte ... d mapping pattern keys literal_expr : | signed_number ! ( '+' | '-' ) | complex_number | strings | 'None' | 'True' | 'False' complex_number : | signed_real_number '+' imaginary ... _number | signed_real_number '-' imaginary_number signed_number : | NUMBER | '-' NUMBER signed_real_number : | real_number | '-' r ...
https://man.mtool.work/python/3.14/reference/grammar.html
2. 字句解析 — Python 3.14.8 ドキュメント 7076
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... ) non-ASCII character Name Prefixed string or bytes literal underscore ( _ ) Name (Can also be part of numeric literals ) number ( 0 - 9 ) Numeric literal dot ( . ) Numeric literal Operator question mark ( ? ) dollar ( $ ) backquote ( ​`​ ) control ch ... Before the first line of the file is read, a single zero is pushed on the stack; this will never be popped off again. The numbers pushed on the stack will always be strictly increasing from bottom to top. At the beginning of each logical line, the lin ... ns. If it is larger, it is pushed on the stack, and one INDENT token is generated. If it is smaller, it must be one of the numbers occurring on the stack; all numbers on the stack that are larger are popped off, and for each number popped off a DEDENT ...
https://man.mtool.work/python/3.14/reference/lexical_analysis.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT