Results of 1 - 10 of about 452 for first (0.041 sec.)
- 2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 13186
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s
...its base type, you may have problems with multiple inheritance. A Python subclass of your type will have to list your type first in its __bases__ , or else it will not be able to call your type's __new__() method without getting an error. You can avoi...ne PY_SSIZE_T_CLEAN #include <Python.h> #include <stddef.h> /* 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 ( self -> first ); Py_XDECREF ( self -> last ); Py_TYPE ( self ) -> tp_free ( self ); } static PyObject * Custom_new ( PyTypeObject * type... - https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
- 2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 13186
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s
...its base type, you may have problems with multiple inheritance. A Python subclass of your type will have to list your type first in its __bases__ , or else it will not be able to call your type's __new__() method without getting an error. You can avoi...ne PY_SSIZE_T_CLEAN #include <Python.h> #include <stddef.h> /* 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 ( self -> first ); Py_XDECREF ( self -> last ); Py_TYPE ( self ) -> tp_free ( self ); } static PyObject * Custom_new ( PyTypeObject * type... - https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 8739
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...GDI on Windows. When your Python application uses a class in Tkinter, for example, to create a widget, the tkinter module first assembles a Tcl/Tk command string. It passes that Tcl command string to an internal _tkinter binary module, which then cal...e, which in turn was contained within the root window. When creating each child widget, its parent widget is passed as the first argument to the widget constructor. configuration options Widgets have configuration options , which modify their appearan.... btn - text "Quit" - command "destroy ." ] - column 1 - row 0 Tcl's syntax is similar to many shell languages, where the first word is the command to be executed, with arguments to that command following it, separated by spaces. Without getting into... - https://man.mtool.work/python/3.14/library/tkinter.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 7563
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...GDI on Windows. When your Python application uses a class in Tkinter, for example, to create a widget, the tkinter module first assembles a Tcl/Tk command string. It passes that Tcl command string to an internal _tkinter binary module, which then cal...e, which in turn was contained within the root window. When creating each child widget, its parent widget is passed as the first argument to the widget constructor. configuration options Widgets have configuration options , which modify their appearan.... btn - text "Quit" - command "destroy ." ] - column 1 - row 0 Tcl's syntax is similar to many shell languages, where the first word is the command to be executed, with arguments to that command following it, separated by spaces. Without getting into... - https://man.mtool.work/python/3.14/library/tkinter.html
- 変更履歴 — Python 3.14.8 ドキュメント 6864
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...en so the buffer can be truncated from the current position. gh-82039 : http.cookiejar.FileCookieJar.load() now checks the first, format signature line in a case-insensitive manner. Patch by Ashley Harvey. gh-70758 : Creating a new turtle screen after...the previous one was closed no longer raises turtle.Terminator on the first turtle command. bpo-44012 : The exploded attribute of ipaddress.IPv6Address and ipaddress.IPv6Interface now supports addre...olorize the soft keyword type in IDLE. gh-103089 : IDLE no longer hangs when opening a file with very long lines. Only the first 2,000 characters of a line are colorized. gh-89544 : Fix IDLE hanging after Restart Shell while receiving a large output f... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- 整数型オブジェクト (integer object) — Python 3.14.8 ドキュメント 6568
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 整数型オブジェクト (integer object) テーマ 自動 ライト ダーク | 整数型オブジェクト (i
...to the radix in base , or NULL on failure. If pend is non- NULL , *pend will point to the end of str on success or to the first character that could not be processed on error. If base is 0 , str is interpreted using the 整数リテラル definition; in th...s , int flags ) ¶ 次に属します: Stable ABI (バージョン 3.14 より). Create a Python integer from the value contained in the first n_bytes of buffer , interpreted as a two's-complement signed number. flags are as for PyLong_AsNativeBytes() . Passing -1...s , int flags ) ¶ 次に属します: Stable ABI (バージョン 3.14 より). Create a Python integer from the value contained in the first n_bytes of buffer , interpreted as an unsigned number. flags are as for PyLong_AsNativeBytes() . Passing -1 will select th... - https://man.mtool.work/python/3.14/c-api/long.html
- 整数型オブジェクト (integer object) — Python 3.14.8 ドキュメント 6396
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 整数型オブジェクト (integer object) テーマ 自動 ライト ダーク | 整数型オブジェクト (i
...to the radix in base , or NULL on failure. If pend is non- NULL , *pend will point to the end of str on success or to the first character that could not be processed on error. If base is 0 , str is interpreted using the 整数リテラル definition; in th...s , int flags ) ¶ 次に属します: Stable ABI (バージョン 3.14 より). Create a Python integer from the value contained in the first n_bytes of buffer , interpreted as a two's-complement signed number. flags are as for PyLong_AsNativeBytes() . Passing -1...s , int flags ) ¶ 次に属します: Stable ABI (バージョン 3.14 より). Create a Python integer from the value contained in the first n_bytes of buffer , interpreted as an unsigned number. flags are as for PyLong_AsNativeBytes() . Passing -1 will select th... - https://man.mtool.work/python/3.14/c-api/long.html
- unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 6330
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー
...are sufficient to meet many everyday testing needs. The remainder of the documentation explores the full feature set from first principles. バージョン 3.11 で変更: テストメソッドが(デフォルトの``None``以外の)戻り値を返す挙動は現在非推奨です。 コマン...sertWarns() 、 assertWarnsRegex() には、そのメソッドをコンテキストマネージャとして使った場合にのみ使えます。 assertEqual ( first , second , msg = None ) ¶ first と second が等しいことをテストします。両者が等しくない場合、テストは失敗です。 さらに、 fi...。 バージョン 3.2 で変更: 文字列比較のデフォルトの比較関数として assertMultiLineEqual() が追加されました。 assertNotEqual ( first , second , msg = None ) ¶ first と second が等しくないことをテストします。両者が等しい場合、テストは失敗です。 assertTrue... - https://man.mtool.work/python/3.14/library/unittest.html
- unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 6330
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー
...are sufficient to meet many everyday testing needs. The remainder of the documentation explores the full feature set from first principles. バージョン 3.11 で変更: テストメソッドが(デフォルトの``None``以外の)戻り値を返す挙動は現在非推奨です。 コマン...sertWarns() 、 assertWarnsRegex() には、そのメソッドをコンテキストマネージャとして使った場合にのみ使えます。 assertEqual ( first , second , msg = None ) ¶ first と second が等しいことをテストします。両者が等しくない場合、テストは失敗です。 さらに、 fi...。 バージョン 3.2 で変更: 文字列比較のデフォルトの比較関数として assertMultiLineEqual() が追加されました。 assertNotEqual ( first , second , msg = None ) ¶ first と second が等しくないことをテストします。両者が等しい場合、テストは失敗です。 assertTrue... - https://man.mtool.work/python/3.14/library/unittest.html
- calendar --- 一般的なカレンダーに関係する機能群 — Python 3.14.8 ドキュメント 5631
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » calendar --- 一般的なカレンダーに関係する機能群 テーマ 自動 ライト ダーク | calendar --- 一般的なカレンダーに関係する機能
...供します。標準ではこれらのカレンダーは(ヨーロッパの慣例に従って)月曜日を週の始まりとし、日曜日を最後の日としています。 setfirstweekday() を用いることで、日曜日(6)や他の曜日を週の始まりに設定することができます。日付を表す引数は整数値で与えます。関連す...ISO 8601 の基準に定められている通りに扱われます。0 年は 1 BC、-1 年は 2 BC、のように続きます。 class calendar. Calendar ( firstweekday = 0 ) ¶ Calendar オブジェクトを作ります。 firstweekday は整数で週の始まりの曜日を指定するものです。 MONDAY が 0 (デ...能そのものは提供していません。それはサブクラスの仕事なのです。 Calendar instances have the following methods and attributes: firstweekday ¶ The first weekday as an integer (0--6). This property can also be set and read using setfirstweekday() and getfir... - https://man.mtool.work/python/3.14/library/calendar.html