Results of 1 - 10 of about 15 for StrEnum (0.010 sec.)
- enum --- 列挙型のサポート — Python 3.14.8 ドキュメント 13183
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » enum --- 列挙型のサポート テーマ 自動 ライト ダーク | enum --- 列挙型のサポート ¶ Added in version 3.4. ソースコード: Li
...す。 Enum 列挙型定数を作成する基底クラスです。 IntEnum int のサブクラスでもある列挙型定数を作成する基底クラスです。( Notes ) StrEnum str のサブクラスでもある列挙型定数を作成する基底クラスです。( Notes ) Flag 列挙型定数を作成する基底クラスで、ビット演算を使...み合わせられ、その結果も IntFlag メンバーになります。 IntFlag は int のサブクラスでもあります。( Notes ) ReprEnum IntEnum 、 StrEnum 、および IntFlag によって使用され、mix-inされた型の str() を保持します。 EnumCheck CONTINUOUS 、 NAMED_FLAGS 、 UNIQUE の値...t A subclass of dict for use when subclassing EnumType . auto インスタンスは列挙型のメンバーに適切な値で置き換えられます。 StrEnum ではデフォルトの値がメンバー名を小文字にしたものですが、その他の列挙型のデフォルトは1から連番で増加する値となります。 @~en... - https://man.mtool.work/python/3.14/library/enum.html
- enum --- 列挙型のサポート — Python 3.14.8 ドキュメント 12800
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » enum --- 列挙型のサポート テーマ 自動 ライト ダーク | enum --- 列挙型のサポート ¶ Added in version 3.4. ソースコード: Li
...す。 Enum 列挙型定数を作成する基底クラスです。 IntEnum int のサブクラスでもある列挙型定数を作成する基底クラスです。( Notes ) StrEnum str のサブクラスでもある列挙型定数を作成する基底クラスです。( Notes ) Flag 列挙型定数を作成する基底クラスで、ビット演算を使...み合わせられ、その結果も IntFlag メンバーになります。 IntFlag は int のサブクラスでもあります。( Notes ) ReprEnum IntEnum 、 StrEnum 、および IntFlag によって使用され、mix-inされた型の str() を保持します。 EnumCheck CONTINUOUS 、 NAMED_FLAGS 、 UNIQUE の値...t A subclass of dict for use when subclassing EnumType . auto インスタンスは列挙型のメンバーに適切な値で置き換えられます。 StrEnum ではデフォルトの値がメンバー名を小文字にしたものですが、その他の列挙型のデフォルトは1から連番で増加する値となります。 @~en... - https://man.mtool.work/python/3.14/library/enum.html
- 列挙型 HOWTO — Python 3.14.8 ドキュメント 9038
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 列挙型 HOWTO テーマ 自動 ライト ダーク | 列挙型 HOWTO ¶ Enum は、ユニークな値に束縛されたシンボル名の集合です。グローバル変数に似ていますが、 repr
...> int ( Shape . CIRCLE ) 1 >>> [ 'a' , 'b' , 'c' ][ Shape . CIRCLE ] 'b' >>> [ i for i in range ( Shape . SQUARE )] [0, 1] StrEnum ¶ 提供されている2つ目の Enum の派生型もまた、 str のサブクラスでもあります。 StrEnum のメンバーは、文字列と比較できます; さ...d string literals , str.format() , and format() will use the enum's __str__() method. 注釈 Because IntEnum , IntFlag , and StrEnum are designed to be drop-in replacements for existing constants, their __str__() method has been reset to their data types'...含む2のべき乗の値の数に対応するlengthを持ちます。 例えば: >>> len ( Color . PURPLE ) 2 Enum クックブック ¶ Enum , IntEnum , StrEnum , Flag , IntFlag は用途の大部分をカバーすると予想されますが、そのすべてをカバーできているわけではありません。ここでは、その... - https://man.mtool.work/python/3.14/howto/enum.html
- 列挙型 HOWTO — Python 3.14.8 ドキュメント 9038
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 列挙型 HOWTO テーマ 自動 ライト ダーク | 列挙型 HOWTO ¶ Enum は、ユニークな値に束縛されたシンボル名の集合です。グローバル変数に似ていますが、 repr
...> int ( Shape . CIRCLE ) 1 >>> [ 'a' , 'b' , 'c' ][ Shape . CIRCLE ] 'b' >>> [ i for i in range ( Shape . SQUARE )] [0, 1] StrEnum ¶ 提供されている2つ目の Enum の派生型もまた、 str のサブクラスでもあります。 StrEnum のメンバーは、文字列と比較できます; さ...d string literals , str.format() , and format() will use the enum's __str__() method. 注釈 Because IntEnum , IntFlag , and StrEnum are designed to be drop-in replacements for existing constants, their __str__() method has been reset to their data types'...含む2のべき乗の値の数に対応するlengthを持ちます。 例えば: >>> len ( Color . PURPLE ) 2 Enum クックブック ¶ Enum , IntEnum , StrEnum , Flag , IntFlag は用途の大部分をカバーすると予想されますが、そのすべてをカバーできているわけではありません。ここでは、その... - https://man.mtool.work/python/3.14/howto/enum.html
- http --- HTTP モジュール群 — Python 3.14.8 ドキュメント 8272
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http --- HTTP モジュール群 テーマ 自動 ライト ダーク | http --- HTTP モジュール群 ¶ ソースコー
...client_error False class http. HTTPMethod ¶ Added in version 3.11. 一連の HTTP メソッド、英語で書かれた記述を定義した enum.StrEnum のサブクラスです。 使い方: >>> from http import HTTPMethod >>> >>> HTTPMethod . GET <HTTPMethod.GET> >>> HTTPMethod . GET... - https://man.mtool.work/python/3.14/library/http.html
- http --- HTTP モジュール群 — Python 3.14.8 ドキュメント 8272
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http --- HTTP モジュール群 テーマ 自動 ライト ダーク | http --- HTTP モジュール群 ¶ ソースコー
...client_error False class http. HTTPMethod ¶ Added in version 3.11. 一連の HTTP メソッド、英語で書かれた記述を定義した enum.StrEnum のサブクラスです。 使い方: >>> from http import HTTPMethod >>> >>> HTTPMethod . GET <HTTPMethod.GET> >>> HTTPMethod . GET... - https://man.mtool.work/python/3.14/library/http.html
- 索引 — Python 3.14.8 ドキュメント 7872
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – S S (re モジュール) (tkinter モジュール) S_ENFMT (stat モジュール) S_IEXEC (stat モジュール) S_IFBLK (stat モジュール) S_IFCHR (stat モ
...stHandler (socketserver のクラス) StreamWriter (asyncio のクラス) (codecs のクラス) streamwriter (codecs.CodecInfo の属性) StrEnum (enum のクラス) strerror (C function) (OSError の属性) strerror() (os モジュール) strftime() (datetime.date のメソッド) (d... - https://man.mtool.work/python/3.14/genindex-S.html
- 索引 — Python 3.14.8 ドキュメント 7872
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – S S (re モジュール) (tkinter モジュール) S_ENFMT (stat モジュール) S_IEXEC (stat モジュール) S_IFBLK (stat モジュール) S_IFCHR (stat モ
...stHandler (socketserver のクラス) StreamWriter (asyncio のクラス) (codecs のクラス) streamwriter (codecs.CodecInfo の属性) StrEnum (enum のクラス) strerror (C function) (OSError の属性) strerror() (os モジュール) strftime() (datetime.date のメソッド) (d... - https://man.mtool.work/python/3.14/genindex-S.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 7750
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...d. delta ¶ The amount the mouse wheel was rotated (for MouseWheel events). class tkinter. EventType ( * values ) ¶ An enum.StrEnum enumerating the Tk event types, used as the value of Event.type . Its members include, among others, KeyPress , KeyRelease... - https://man.mtool.work/python/3.14/library/tkinter.html
- What's New In Python 3.10 — Python 3.14.8 ドキュメント 7750
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と
...lable as module constants have a repr() of module_name.member_name . (Contributed by Ethan Furman in bpo-40066 .) Add enum.StrEnum for enums where all members are strings. (Contributed by Ethan Furman in bpo-41816 .) fileinput ¶ Add encoding and errors... - https://man.mtool.work/python/3.14/whatsnew/3.10.html