Results of 1 - 10 of about 273 for Equivalent (0.011 sec.)
- importlib.resources -- パッケージリソースの読み取り、オープン、アクセス — Pytho... 10606
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » importlib.resources -- パッケージリソースの読み取り、オープン、アクセス テーマ 自動 ライト ダーク | import
...e.joinpath , The individual components should use forward slashes ( / ) as path separators. For example, the following are equivalent: importlib . resources . read_binary ( my_module , "pics/painting.png" ) importlib . resources . read_binary ( my_module ,...path_names . This function returns a BinaryIO object, that is, a binary stream open for reading. This function is roughly equivalent to: files ( anchor ) . joinpath ( * path_names ) . open ( 'rb' ) バージョン 3.13 で変更: Multiple path_names are accepted....d in Python 3.15. This function returns a TextIO object, that is, a text stream open for reading. This function is roughly equivalent to: files ( anchor ) . joinpath ( * path_names ) . open ( 'r' , encoding = encoding ) バージョン 3.13 で変更: Multiple pat... - https://man.mtool.work/python/3.14/library/importlib.resources.html
- importlib.resources -- パッケージリソースの読み取り、オープン、アクセス — Pytho... 10606
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » importlib.resources -- パッケージリソースの読み取り、オープン、アクセス テーマ 自動 ライト ダーク | import
...e.joinpath , The individual components should use forward slashes ( / ) as path separators. For example, the following are equivalent: importlib . resources . read_binary ( my_module , "pics/painting.png" ) importlib . resources . read_binary ( my_module ,...path_names . This function returns a BinaryIO object, that is, a binary stream open for reading. This function is roughly equivalent to: files ( anchor ) . joinpath ( * path_names ) . open ( 'rb' ) バージョン 3.13 で変更: Multiple path_names are accepted....d in Python 3.15. This function returns a TextIO object, that is, a text stream open for reading. This function is roughly equivalent to: files ( anchor ) . joinpath ( * path_names ) . open ( 'r' , encoding = encoding ) バージョン 3.13 で変更: Multiple pat... - https://man.mtool.work/python/3.14/library/importlib.resources.html
- typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 8198
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース
...pe[TeamUser]`` is not a subtype # of ``type[BasicUser | ProUser]`` new_non_team_user ( User ) # Also an error type[Any] is equivalent to type , which is the root of Python's metaclass hierarchy . Annotating generators and coroutines ¶ A generator can be an...rgument ( AsyncGenerator[YieldType, SendType] ). The SendType argument defaults to None , so the following definitions are equivalent: async def infinite_stream ( start : int ) -> AsyncGenerator [ int ]: while True : yield start start = await increment ( s...d also X[Type1, Type2, ...] for aesthetic reasons. Internally, the latter is converted to the former, so the following are equivalent: >>> class X [ ** P ]: ... ... >>> X [ int , str ] __main__.X[[int, str]] >>> X [[ int , str ]] __main__.X[[int, str]] Not... - https://man.mtool.work/python/3.14/library/typing.html
- Curses C API — Python 3.14.8 ドキュメント 8198
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Curses C API テーマ 自動 ライト ダーク | Curses C API ¶ curses exposes a small C inte
...macro(); . PyCursesSetupTermCalled ¶ Macro checking if curses.setupterm() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_setupterm_called = ( predicate_t ) PyCurses_API [ 1 ]; if ( !...return NULL ; } } PyCursesInitialised ¶ Macro checking if curses.initscr() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_initscr_called = ( predicate_t ) PyCurses_API [ 2 ]; if ( ! w...LL ; } } PyCursesInitialisedColor ¶ Macro checking if curses.start_color() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_start_color_called = ( predicate_t ) PyCurses_API [ 3 ]; if (... - https://man.mtool.work/python/3.14/c-api/curses.html
- typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 8198
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース
...pe[TeamUser]`` is not a subtype # of ``type[BasicUser | ProUser]`` new_non_team_user ( User ) # Also an error type[Any] is equivalent to type , which is the root of Python's metaclass hierarchy . Annotating generators and coroutines ¶ A generator can be an...rgument ( AsyncGenerator[YieldType, SendType] ). The SendType argument defaults to None , so the following definitions are equivalent: async def infinite_stream ( start : int ) -> AsyncGenerator [ int ]: while True : yield start start = await increment ( s...d also X[Type1, Type2, ...] for aesthetic reasons. Internally, the latter is converted to the former, so the following are equivalent: >>> class X [ ** P ]: ... ... >>> X [ int , str ] __main__.X[[int, str]] >>> X [[ int , str ]] __main__.X[[int, str]] Not... - https://man.mtool.work/python/3.14/library/typing.html
- 型オブジェクト — Python 3.14.8 ドキュメント 7750
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属
...me ( PyTypeObject * type ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI (バージョン 3.11 より). Return the type's name. Equivalent to getting the type's __name__ attribute. Added in version 3.11. PyObject * PyType_GetQualName ( PyTypeObject * type ) ¶ 戻...り値: 新しい参照。 次に属します: Stable ABI (バージョン 3.11 より). Return the type's qualified name. Equivalent to getting the type's __qualname__ attribute. Added in version 3.11. PyObject * PyType_GetFullyQualifiedName ( PyTypeObjec...t * type ) ¶ 次に属します: Stable ABI (バージョン 3.13 より). Return the type's fully qualified name. Equivalent to f"{type.__module__}.{type.__qualname__}" , or type.__qualname__ if type.__module__ is not a string or is equal to "buil... - https://man.mtool.work/python/3.14/c-api/type.html
- Floating-Point Objects — Python 3.14.8 ドキュメント 7604
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Floating-Point Objects テーマ 自動 ライト ダーク | Floating-Point Objects ¶ type PyFl
...macro expands to a constant expression of type double , that represents the positive infinity. On most platforms, this is equivalent to the INFINITY macro from the C11 standard <math.h> header. Py_NAN ¶ This macro expands to a constant expression of type...double , that represents a quiet not-a-number (qNaN) value. On most platforms, this is equivalent to the NAN macro from the C11 standard <math.h> header. Py_HUGE_VAL ¶ Equivalent to INFINITY . バージョン 3.14 で非推奨: T...f the math.tau constant. Added in version 3.6. Py_RETURN_NAN ¶ Return math.nan from a function. On most platforms, this is equivalent to return PyFloat_FromDouble(NAN) . Py_RETURN_INF ( sign ) ¶ Return math.inf or -math.inf from a function, depending on th... - https://man.mtool.work/python/3.14/c-api/float.html
- オブジェクトプロトコル (object protocol) — Python 3.14.8 ドキュメント 7604
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » オブジェクトプロトコル (object protocol) テーマ 自動 ライト ダーク | オブジェク
...) ¶ 次に属します: Stable ABI (バージョン 3.13 より). Returns 1 if o has the attribute attr_name , and 0 otherwise. This is equivalent to the Python expression hasattr(o, attr_name) . On failure, return -1 . Added in version 3.13. int PyObject_HasAttrString...Py_LT , Py_LE , Py_EQ , Py_NE , Py_GT , or Py_GE , corresponding to < , <= , == , != , > , or >= respectively. This is the equivalent of the Python expression o1 op o2 , where op is the operator corresponding to opid . Returns the value of the comparison o...ect_Format ( PyObject * obj , PyObject * format_spec ) ¶ 次に属します: Stable ABI . Format obj using format_spec . This is equivalent to the Python expression format(obj, format_spec) . format_spec may be NULL . In this case the call is equivalent to forma... - https://man.mtool.work/python/3.14/c-api/object.html
- Floating-Point Objects — Python 3.14.8 ドキュメント 7604
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Floating-Point Objects テーマ 自動 ライト ダーク | Floating-Point Objects ¶ type PyFl
...macro expands to a constant expression of type double , that represents the positive infinity. On most platforms, this is equivalent to the INFINITY macro from the C11 standard <math.h> header. Py_NAN ¶ This macro expands to a constant expression of type...double , that represents a quiet not-a-number (qNaN) value. On most platforms, this is equivalent to the NAN macro from the C11 standard <math.h> header. Py_HUGE_VAL ¶ Equivalent to INFINITY . バージョン 3.14 で非推奨: T...f the math.tau constant. Added in version 3.6. Py_RETURN_NAN ¶ Return math.nan from a function. On most platforms, this is equivalent to return PyFloat_FromDouble(NAN) . Py_RETURN_INF ( sign ) ¶ Return math.inf or -math.inf from a function, depending on th... - https://man.mtool.work/python/3.14/c-api/float.html
- オブジェクトプロトコル (object protocol) — Python 3.14.8 ドキュメント 7604
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » オブジェクトプロトコル (object protocol) テーマ 自動 ライト ダーク | オブジェク
...) ¶ 次に属します: Stable ABI (バージョン 3.13 より). Returns 1 if o has the attribute attr_name , and 0 otherwise. This is equivalent to the Python expression hasattr(o, attr_name) . On failure, return -1 . Added in version 3.13. int PyObject_HasAttrString...Py_LT , Py_LE , Py_EQ , Py_NE , Py_GT , or Py_GE , corresponding to < , <= , == , != , > , or >= respectively. This is the equivalent of the Python expression o1 op o2 , where op is the operator corresponding to opid . Returns the value of the comparison o...ect_Format ( PyObject * obj , PyObject * format_spec ) ¶ 次に属します: Stable ABI . Format obj using format_spec . This is equivalent to the Python expression format(obj, format_spec) . format_spec may be NULL . In this case the call is equivalent to forma... - https://man.mtool.work/python/3.14/c-api/object.html