per page, with , order by , clip by
Results of 1 - 10 of about 62 for defined (0.004 sec.)
termios --- POSIX スタイルの端末制御 14940
termios --- POSIX スタイルの端末制御 このモジュールでは端末 I/O 制御のための POSIX 準拠の関数呼び出しインターフェースを提供します。これら呼び出しのための完全な記述については、 Unix マニュアルページの termios(3) を参照してください。これは PO ... acters (each a string of length 1, except the items with indices VMIN and VTIME , which are integers when these fields are defined). The interpretation of the flags and the speeds as well as the indexing in the cc array must be done using the symbolic c ... onstants defined in the termios module. termios. VMIN termios. VTIME Indices into the cc array controlling a non-canonical read: the minimu ... です。 Added in version 3.11. termios. TIOCGWINSZ termios. TIOCGSIZE ioctl() requests for querying the tty window size. Not defined on all platforms; tcgetwinsize() requires at least one of them. termios. tcsetwinsize ( fd , winsize ) ファイル記述子 fd の ...
https://man.mtool.work/python/3.14/library/termios.html
unicodedata --- Unicode データベース 12339
unicodedata --- Unicode データベース This module provides access to the Unicode Character Database (UCD) which defines character properties for all Unicode characters. The data contained in this database is compiled from the UCD version 16. ... 0.0 . The module uses the same names and symbols as defined by Unicode Standard Annex #44, "Unicode Character Database" . It defines the following functions: 参考 Unicode とこのモジュ ... dedata. bidirectional ( chr ) Returns the bidirectional class assigned to the character chr as string. If no such value is defined, an empty string is returned. See the Bidirectional Class Values section of the Unicode Character Database documentation f ... ( chr ) Returns the canonical combining class assigned to the character chr as integer. Returns 0 if no combining class is defined. See the Canonical Combining Class Values section of the Unicode Character Database for more information. unicodedata. eas ...
https://man.mtool.work/python/3.14/library/unicodedata.html
1. Extending Python with C or C++ 9464
1. Extending Python with C or C++ It is quite easy to add new built-in modules to Python, if you know how to program in C. Such extension modules can do two things that can't be done directly in Python: they can implement new built-in objec ... we keep it here for backward compatibility. See 文字列とバッファ for a description of this macro. All user-visible symbols defined by Python.h have a prefix of Py or PY , except those defined in standard header files. Tip For backward compatibility, Pyt ... .h> (on Windows) <inttypes.h> <limits.h> <math.h> <stdarg.h> <wchar.h> <sys/types.h> (if present) If Py_LIMITED_API is not defined, or is set to version 3.12 or older, the headers below are also included: <ctype.h> <unistd.h> (on POSIX) If Py_LIMITED_AP ... I is not defined, or is set to version 3.10 or older, the headers below are also included: <errno.h> <stdio.h> <stdlib.h> <string.h> The ne ...
https://man.mtool.work/python/3.14/extending/extending.html
モジュールオブジェクト (module object) 9175
モジュールオブジェクト (module object) PyTypeObject PyModule_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python のモジュール型を表します。 Python プログラムには types.ModuleType として公開されています。 int PyModule_C ... ions The functions in the previous section work on any module object, including modules imported from Python code. Modules defined using the C API typically use a module definition , PyModuleDef -- a statically allocated, constant “description" of how a ... ignature: PyObject * create_module ( PyObject * spec , PyModuleDef * def ) The function receives a ModuleSpec instance, as defined in PEP 451 , and the module definition. It should return a new module object, or set an error and return NULL . この関数の ... で与えられた任意の実行スロット ( Py_mod_exec ) を実行します。 Added in version 3.5. PYTHON_API_VERSION The C API version. Defined for backwards compatibility. 現在、この定数は新しい Python バージョンでも更新されないため、バージョンの判別には役立ちません ...
https://man.mtool.work/python/3.14/c-api/module.html
sys.monitoring --- 実行イベントモニタリング 9175
sys.monitoring --- 実行イベントモニタリング Added in version 3.12. 注釈 sys.monitoring は sys モジュール内の名前空間で、独立したモジュールではありません。 import sys.monitoring は ModuleNotFoundError で失敗します。 代わりに import sys を実行 ... ントを無効にします。 ローカルイベント Local events are associated with normal execution of the program and happen at clearly defined locations. All local events can be disabled. The local events are: PY_START PY_RESUME PY_RETURN PY_YIELD CALL LINE INSTRUC ... ントはありません。 コードオブジェクトごとのイベント Events can also be controlled on a per code object basis. The functions defined below which accept a types.CodeType should be prepared to accept a look-alike object from functions which are not defined ...
https://man.mtool.work/python/3.14/library/sys.monitoring.html
拡張モジュールの定義 8886
拡張モジュールの定義 A C extension for CPython is a shared library (for example, a .so file on Linux, .pyd DLL on Windows), which is loadable into the Python process (for example, it is compiled with compatible compiler settings), and which ... スロットで、モジュールをメインインタープリタに限定することもできます。 Initialization function The initialization function defined by an extension module has the following signature: PyObject * PyInit_modulename ( void ) Its name should be PyInit_ <name ... modules in one library section in PEP 489 for details. The initialization function is typically the only non- static item defined in the module's C source. 多段階初期化 Normally, the initialization function ( PyInit_modulename ) returns a PyModuleDef i ...
https://man.mtool.work/python/3.14/c-api/extension-modules.html
array --- 効率的な数値配列 8597
array --- 効率的な数値配列 This module defines an object type which can compactly represent an array of basic values: characters, integers, floating-point numbers. Arrays are mutable sequence types and behave very much like lists, except th ... type is specified at object creation time by using a type code , which is a single character. The following type codes are defined: 型コード C の型 Python の型 最小サイズ (バイト単位) 注釈 'b' signed char int 1 'B' unsigned char int 1 'u' wchar_t Unicod ... g eval() , so long as the array class has been imported using from array import array . Variables inf and nan must also be defined if it contains corresponding floating-point values. Examples: array ( 'l' ) array ( 'w' , 'hello \u2641 ' ) array ( 'l' , ...
https://man.mtool.work/python/3.14/library/array.html
型オブジェクト 8308
型オブジェクト type PyTypeObject 次に属します: Limited API (不透明な構造体として). 組み込み型を記述する際に用いられる、オブジェクトを表す C 構造体です。 PyTypeObject PyType_Type 次に属します: Stable ABI . 型オブジェクト自身の型オブジェクトで ... ていない場合は、 TypeError を設定して NULL を返します。 This function is usually used to get the module in which a method is defined. Note that in such a method, PyType_GetModule(Py_TYPE(self)) may not return the intended result. Py_TYPE(self) may be a su ... bclass of the intended class, and subclasses are not necessarily defined in the same module as their superclass. See PyCMethod to get the class that defines the method. See PyType_GetModuleByDef( ... s NULL , the new type derives from object . The module argument can be used to record the module in which the new class is defined. It must be a module object or NULL . If not NULL , the module is associated with the new type and can later be retrieved ...
https://man.mtool.work/python/3.14/c-api/type.html
tokenize --- Python ソース用のトークナイザー 8308
tokenize --- Python ソース用のトークナイザー ソースコード: Lib/tokenize.py The tokenize module provides a lexical scanner for Python source code, implemented in Python. The scanner in this module returns comments as tokens as well, making i ... as five fields and an additional exact_type property. Added in version 3.1. type An integer identifying the token type, as defined by the constants in token , such as NAME and STRING . Operators and delimiters have type OP ; use exact_type for their spe ... is empty for ENCODING and ENDMARKER tokens. exact_type An integer identifying the specific operator type for OP tokens, as defined by the constants in token . For all other token types, this equals type . For example, a + token has type equal to OP and ...
https://man.mtool.work/python/3.14/library/tokenize.html
asyncio での開発 8019
asyncio での開発 非同期プログラミングは、従来の「逐次的」なプログラミングとは異なります。 このページはよくある間違いや落とし穴を列挙し、それらを回避する方法を説明します。 デバッグモード asyncio はデフォルトで本運用モードで実行されます。いっ ... ( bug ()) asyncio . run ( main ()) 出力: Task exception was never retrieved future : < Task finished coro =< bug () done , defined at test . py : 3 > exception = Exception ( 'not consumed' ) > Traceback ( most recent call last ): File "test.py" , line 4 ... (), debug = True ) デバッグモードの出力: Task exception was never retrieved future : < Task finished coro =< bug () done , defined at test . py : 3 > exception = Exception ( 'not consumed' ) created at asyncio / tasks . py : 321 > source_traceback : Obj ...
https://man.mtool.work/python/3.14/library/asyncio-dev.html
PREV 1 2 3 4 5 6 7 NEXT