Results of 1 - 10 of about 20 for mixin (0.010 sec.)
- collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 13747
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶
...inherit directly from one of the abstract base classes. The class must supply the required abstract methods. The remaining mixin methods come from inheritance and can be overridden if desired. Other methods may be added as needed: class C ( Sequence )...stract method def __len__ ( self ): ... # Required abstract method def count ( self , value ): ... # Optionally override a mixin method >>> issubclass ( C , Sequence ) True >>> isinstance ( C (), Sequence ) True Existing classes and built-in classes c...ual subclasses" of the ABCs. Those classes should define the full API including all of the abstract methods and all of the mixin methods. This lets users rely on issubclass() or isinstance() tests to determine whether the full interface is supported.... - https://man.mtool.work/python/3.14/library/collections.abc.html
- collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 13340
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶
...inherit directly from one of the abstract base classes. The class must supply the required abstract methods. The remaining mixin methods come from inheritance and can be overridden if desired. Other methods may be added as needed: class C ( Sequence )...stract method def __len__ ( self ): ... # Required abstract method def count ( self , value ): ... # Optionally override a mixin method >>> issubclass ( C , Sequence ) True >>> isinstance ( C (), Sequence ) True Existing classes and built-in classes c...ual subclasses" of the ABCs. Those classes should define the full API including all of the abstract methods and all of the mixin methods. This lets users rely on issubclass() or isinstance() tests to determine whether the full interface is supported.... - https://man.mtool.work/python/3.14/library/collections.abc.html
- socketserver --- ネットワークサーバーのフレームワーク — Python 3.14.8 ドキュメ... 8309
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » socketserver --- ネットワークサーバーのフレームワーク テーマ 自動 ライト ダーク | socketserver
...状況には向いていません。こうした状況の解決方法は別のプロセスを生成するか、個々の要求を扱うスレッドを生成することです; ForkingMixIn および ThreadingMixIn 配合クラス (mix-in classes) を使えば、非同期的な動作をサポートできます。 サーバの作成にはいくつかのス...は多数の要求を処理します。最後に、( with 文を使っていなかったなら) server_close() を呼び出してソケットを閉じます。 ThreadingMixIn から継承してスレッドを利用した接続を行う場合、突発的な通信切断時の処理を明示的に指定する必要があります。 ThreadingMixIn ク...する事ができます。スレッドが独自の処理を行う場合は、このフラグを明示的に指定します。デフォルトは False で、Pythonは ThreadingMixIn クラスが起動した全てのスレッドが終了するまで実行し続けます。 サーバクラス群は使用するネットワークプロトコルに関わらず、同じ... - https://man.mtool.work/python/3.14/library/socketserver.html
- socketserver --- ネットワークサーバーのフレームワーク — Python 3.14.8 ドキュメ... 8309
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » socketserver --- ネットワークサーバーのフレームワーク テーマ 自動 ライト ダーク | socketserver
...状況には向いていません。こうした状況の解決方法は別のプロセスを生成するか、個々の要求を扱うスレッドを生成することです; ForkingMixIn および ThreadingMixIn 配合クラス (mix-in classes) を使えば、非同期的な動作をサポートできます。 サーバの作成にはいくつかのス...は多数の要求を処理します。最後に、( with 文を使っていなかったなら) server_close() を呼び出してソケットを閉じます。 ThreadingMixIn から継承してスレッドを利用した接続を行う場合、突発的な通信切断時の処理を明示的に指定する必要があります。 ThreadingMixIn ク...する事ができます。スレッドが独自の処理を行う場合は、このフラグを明示的に指定します。デフォルトは False で、Pythonは ThreadingMixIn クラスが起動した全てのスレッドが終了するまで実行し続けます。 サーバクラス群は使用するネットワークプロトコルに関わらず、同じ... - https://man.mtool.work/python/3.14/library/socketserver.html
- Graphical user interfaces with Tk — Python 3.14.8 ドキュメント 8173
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk テーマ 自動 ライト ダーク | Graphical user interfaces with Tk ¶ Tk/Tcl は長きにわたり Python の不
...idget variables The window manager Tk option data types Bindings and events The index parameter 画像 リファレンス Base and mixin classes Toplevel widgets Widget classes Variable classes Image classes Other classes Module-level functions File handlers... - https://man.mtool.work/python/3.14/library/tk.html
- Graphical user interfaces with Tk — Python 3.14.8 ドキュメント 8173
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk テーマ 自動 ライト ダーク | Graphical user interfaces with Tk ¶ Tk/Tcl は長きにわたり Python の不
...idget variables The window manager Tk option data types Bindings and events The index parameter 画像 リファレンス Base and mixin classes Toplevel widgets Widget classes Variable classes Image classes Other classes Module-level functions File handlers... - https://man.mtool.work/python/3.14/library/tk.html
- 列挙型 HOWTO — Python 3.14.8 ドキュメント 8038
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 列挙型 HOWTO テーマ 自動 ライト ダーク | 列挙型 HOWTO ¶ Enum は、ユニークな値に束縛されたシンボル名の集合です。グローバル変数に似ていますが、 repr
...承するクラスを作成するのと同じくらい簡単です。 注釈 Enumメンバーは大文字/小文字? 列挙型は定数を表すために使われるため、また mixin クラスのメソッドや属性との名前の衝突の問題を回避するため、メンバには UPPER_CASE の名前を使うことが強く推奨されており、例で...は継承するクラス名を省略します。 例えば: >>> from dataclasses import dataclass , field >>> @dataclass ... class CreatureDataMixin : ... size : str ... legs : int ... tail : bool = field ( repr = False , default = True ) ... >>> class Creature ( Creatur...eDataMixin , Enum ): ... BEETLE = 'small' , 6 ... DOG = 'medium' , 4 ... >>> Creature . DOG <Creature.DOG: size='medium', legs=4> 標準... - https://man.mtool.work/python/3.14/howto/enum.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 8038
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...each top-level window, and for such things as its title, position, size and icon. Tk gives access to these through the Wm mixin, which is inherited by the Tk root window and by every Toplevel . You therefore call the window-manager methods directly o...a call into the Tcl interpreter fails, for example when a widget is given an unknown option or an invalid value. Base and mixin classes ¶ class tkinter. Misc ¶ The Misc class is a mix-in inherited by Tk and, through BaseWidget , by every widget. It p...n, for example '9.0.3' for a final release or '9.1b2' for a pre-release. Added in version 3.11. class tkinter. Wm ¶ The Wm mixin provides access to the window manager, allowing an application to control such things as the title, geometry and icon of a... - https://man.mtool.work/python/3.14/library/tkinter.html
- 列挙型 HOWTO — Python 3.14.8 ドキュメント 8038
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 列挙型 HOWTO テーマ 自動 ライト ダーク | 列挙型 HOWTO ¶ Enum は、ユニークな値に束縛されたシンボル名の集合です。グローバル変数に似ていますが、 repr
...承するクラスを作成するのと同じくらい簡単です。 注釈 Enumメンバーは大文字/小文字? 列挙型は定数を表すために使われるため、また mixin クラスのメソッドや属性との名前の衝突の問題を回避するため、メンバには UPPER_CASE の名前を使うことが強く推奨されており、例で...は継承するクラス名を省略します。 例えば: >>> from dataclasses import dataclass , field >>> @dataclass ... class CreatureDataMixin : ... size : str ... legs : int ... tail : bool = field ( repr = False , default = True ) ... >>> class Creature ( Creatur...eDataMixin , Enum ): ... BEETLE = 'small' , 6 ... DOG = 'medium' , 4 ... >>> Creature . DOG <Creature.DOG: size='medium', legs=4> 標準... - https://man.mtool.work/python/3.14/howto/enum.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 8038
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...each top-level window, and for such things as its title, position, size and icon. Tk gives access to these through the Wm mixin, which is inherited by the Tk root window and by every Toplevel . You therefore call the window-manager methods directly o...a call into the Tcl interpreter fails, for example when a widget is given an unknown option or an invalid value. Base and mixin classes ¶ class tkinter. Misc ¶ The Misc class is a mix-in inherited by Tk and, through BaseWidget , by every widget. It p...n, for example '9.0.3' for a final release or '9.1b2' for a pre-release. Added in version 3.11. class tkinter. Wm ¶ The Wm mixin provides access to the window manager, allowing an application to control such things as the title, geometry and icon of a... - https://man.mtool.work/python/3.14/library/tkinter.html