René's URL Explorer Experiment


Title: Enum HOWTO — Python 3.14.0 說明文件

direct link

Domain: python.github.io

readthedocs-addons-api-version1

Links:

https://www.python.org/
目錄https://python.github.io/python-docs-zh-tw/contents.html
Enum HOWTOhttps://python.github.io/python-docs-zh-tw/howto/enum.html
Programmatic access to enumeration members and their attributeshttps://python.github.io/python-docs-zh-tw/howto/enum.html#programmatic-access-to-enumeration-members-and-their-attributes
Duplicating enum members and valueshttps://python.github.io/python-docs-zh-tw/howto/enum.html#duplicating-enum-members-and-values
Ensuring unique enumeration valueshttps://python.github.io/python-docs-zh-tw/howto/enum.html#ensuring-unique-enumeration-values
Using automatic valueshttps://python.github.io/python-docs-zh-tw/howto/enum.html#using-automatic-values
Iterationhttps://python.github.io/python-docs-zh-tw/howto/enum.html#iteration
比較https://python.github.io/python-docs-zh-tw/howto/enum.html#comparisons
Allowed members and attributes of enumerationshttps://python.github.io/python-docs-zh-tw/howto/enum.html#allowed-members-and-attributes-of-enumerations
Restricted Enum subclassinghttps://python.github.io/python-docs-zh-tw/howto/enum.html#restricted-enum-subclassing
Dataclass supporthttps://python.github.io/python-docs-zh-tw/howto/enum.html#dataclass-support
Picklinghttps://python.github.io/python-docs-zh-tw/howto/enum.html#pickling
Functional APIhttps://python.github.io/python-docs-zh-tw/howto/enum.html#functional-api
Derived Enumerationshttps://python.github.io/python-docs-zh-tw/howto/enum.html#derived-enumerations
IntEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#intenum
StrEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#strenum
IntFlaghttps://python.github.io/python-docs-zh-tw/howto/enum.html#intflag
Flaghttps://python.github.io/python-docs-zh-tw/howto/enum.html#flag
其他https://python.github.io/python-docs-zh-tw/howto/enum.html#others
When to use __new__() vs. __init__()https://python.github.io/python-docs-zh-tw/howto/enum.html#when-to-use-new-vs-init
Finer Pointshttps://python.github.io/python-docs-zh-tw/howto/enum.html#finer-points
有支援的 __dunder__ 名稱https://python.github.io/python-docs-zh-tw/howto/enum.html#supported-dunder-names
有支援的 _sunder_ 名稱https://python.github.io/python-docs-zh-tw/howto/enum.html#supported-sunder-names
_Private__nameshttps://python.github.io/python-docs-zh-tw/howto/enum.html#private-names
Enum member typehttps://python.github.io/python-docs-zh-tw/howto/enum.html#enum-member-type
Creating members that are mixed with other data typeshttps://python.github.io/python-docs-zh-tw/howto/enum.html#creating-members-that-are-mixed-with-other-data-types
Boolean value of Enum classes and membershttps://python.github.io/python-docs-zh-tw/howto/enum.html#boolean-value-of-enum-classes-and-members
Enum classes with methodshttps://python.github.io/python-docs-zh-tw/howto/enum.html#enum-classes-with-methods
Flag 的成員組合https://python.github.io/python-docs-zh-tw/howto/enum.html#combining-members-of-flag
Flag and IntFlag minutiahttps://python.github.io/python-docs-zh-tw/howto/enum.html#flag-and-intflag-minutia
Enums 和 Flags 有何不同?https://python.github.io/python-docs-zh-tw/howto/enum.html#how-are-enums-and-flags-different
Enum 類別https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-classes
Flag 類別https://python.github.io/python-docs-zh-tw/howto/enum.html#flag-classes
Enum Members (aka instances)https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-members-aka-instances
Flag 成員https://python.github.io/python-docs-zh-tw/howto/enum.html#flag-members
Enum Cookbookhttps://python.github.io/python-docs-zh-tw/howto/enum.html#enum-cookbook
省略值https://python.github.io/python-docs-zh-tw/howto/enum.html#omitting-values
使用 autohttps://python.github.io/python-docs-zh-tw/howto/enum.html#using-auto
使用 objecthttps://python.github.io/python-docs-zh-tw/howto/enum.html#using-object
Using a descriptive stringhttps://python.github.io/python-docs-zh-tw/howto/enum.html#using-a-descriptive-string
使用自訂的 __new__()https://python.github.io/python-docs-zh-tw/howto/enum.html#using-a-custom-new
OrderedEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#orderedenum
DuplicateFreeEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#duplicatefreeenum
MultiValueEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#multivalueenum
Planethttps://python.github.io/python-docs-zh-tw/howto/enum.html#planet
TimePeriodhttps://python.github.io/python-docs-zh-tw/howto/enum.html#timeperiod
子類別化 EnumTypehttps://python.github.io/python-docs-zh-tw/howto/enum.html#subclassing-enumtype
使用 GDB 來為 C API 擴充功能和 CPython 內部偵錯https://python.github.io/python-docs-zh-tw/howto/gdb_helpers.html
函式程式設計 HOWTOhttps://python.github.io/python-docs-zh-tw/howto/functional.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/howto/enum.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/howto/functional.html
上一頁https://python.github.io/python-docs-zh-tw/howto/gdb_helpers.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 如何達成任務https://python.github.io/python-docs-zh-tw/howto/index.html
Enum HOWTOhttps://python.github.io/python-docs-zh-tw/howto/enum.html
https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-howto
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
repr()https://python.github.io/python-docs-zh-tw/library/functions.html#repr
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
datetime.datehttps://python.github.io/python-docs-zh-tw/library/datetime.html#datetime.date
weekday()https://python.github.io/python-docs-zh-tw/library/datetime.html#datetime.date.weekday
isoweekday()https://python.github.io/python-docs-zh-tw/library/datetime.html#datetime.date.isoweekday
datehttps://python.github.io/python-docs-zh-tw/library/datetime.html#datetime.date
listhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#list
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
auto()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
https://python.github.io/python-docs-zh-tw/howto/enum.html#programmatic-access-to-enumeration-members-and-their-attributes
https://python.github.io/python-docs-zh-tw/howto/enum.html#duplicating-enum-members-and-values
https://python.github.io/python-docs-zh-tw/howto/enum.html#ensuring-unique-enumeration-values
unique()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.unique
https://python.github.io/python-docs-zh-tw/howto/enum.html#using-automatic-values
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
_generate_next_value_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._generate_next_value_
_generate_next_value_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._generate_next_value_
https://python.github.io/python-docs-zh-tw/howto/enum.html#iteration
https://python.github.io/python-docs-zh-tw/howto/enum.html#comparisons
IntEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#intenum
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
https://python.github.io/python-docs-zh-tw/howto/enum.html#allowed-members-and-attributes-of-enumerations
Functional APIhttps://python.github.io/python-docs-zh-tw/howto/enum.html#functional-api
__str__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__str__
__add__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__add__
_ignore_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._ignore_
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
__init__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__init__
Planethttps://python.github.io/python-docs-zh-tw/howto/enum.html#planet
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
When to use __new__() vs. __init__()https://python.github.io/python-docs-zh-tw/howto/enum.html#new-vs-init
https://python.github.io/python-docs-zh-tw/howto/enum.html#restricted-enum-subclassing
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
objecthttps://python.github.io/python-docs-zh-tw/library/functions.html#object
OrderedEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#orderedenum
https://python.github.io/python-docs-zh-tw/howto/enum.html#dataclass-support
dataclasshttps://python.github.io/python-docs-zh-tw/library/dataclasses.html#dataclasses.dataclass
__repr__()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__repr__
dataclass()https://python.github.io/python-docs-zh-tw/library/dataclasses.html#dataclasses.dataclass
repr()https://python.github.io/python-docs-zh-tw/library/functions.html#repr
dataclass()https://python.github.io/python-docs-zh-tw/library/dataclasses.html#dataclasses.dataclass
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
https://python.github.io/python-docs-zh-tw/howto/enum.html#pickling
__reduce_ex__()https://python.github.io/python-docs-zh-tw/library/pickle.html#object.__reduce_ex__
https://python.github.io/python-docs-zh-tw/howto/enum.html#functional-api
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
namedtuplehttps://python.github.io/python-docs-zh-tw/library/collections.html#collections.namedtuple
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
__qualname__https://python.github.io/python-docs-zh-tw/reference/datamodel.html#type.__qualname__
https://python.github.io/python-docs-zh-tw/howto/enum.html#derived-enumerations
https://python.github.io/python-docs-zh-tw/howto/enum.html#intenum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
https://python.github.io/python-docs-zh-tw/howto/enum.html#strenum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
https://python.github.io/python-docs-zh-tw/howto/enum.html#intflag
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
FlagBoundaryhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.FlagBoundary
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Falsehttps://python.github.io/python-docs-zh-tw/library/constants.html#False
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
https://python.github.io/python-docs-zh-tw/howto/enum.html#flag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
Falsehttps://python.github.io/python-docs-zh-tw/library/constants.html#False
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
https://python.github.io/python-docs-zh-tw/howto/enum.html#others
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#module-enum
floathttps://python.github.io/python-docs-zh-tw/library/functions.html#float
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
boolhttps://python.github.io/python-docs-zh-tw/library/functions.html#bool
rangehttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#range
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
valuehttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.value
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
dataclasshttps://python.github.io/python-docs-zh-tw/library/dataclasses.html#dataclasses.dataclass
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
__str__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__str__
__repr__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__repr__
Formatted string literalshttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#f-strings
str.format()https://python.github.io/python-docs-zh-tw/library/stdtypes.html#str.format
format()https://python.github.io/python-docs-zh-tw/library/functions.html#format
__str__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__str__
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
__str__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__str__
__str__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__str__
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
__init__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__init__
https://python.github.io/python-docs-zh-tw/howto/enum.html#when-to-use-new-vs-init
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
__init__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__init__
__init__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__init__
https://python.github.io/python-docs-zh-tw/howto/enum.html#finer-points
https://python.github.io/python-docs-zh-tw/howto/enum.html#supported-dunder-names
__members__https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__members__
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
_value_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._value_
https://python.github.io/python-docs-zh-tw/howto/enum.html#supported-sunder-names
_name_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._name_
_value_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._value_
_missing_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._missing_
_ignore_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._ignore_
listhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#list
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
_generate_next_value_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._generate_next_value_
_add_alias_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._add_alias_
_add_value_alias_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._add_value_alias_
MultiValueEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#multivalueenum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
_order_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._order_
_order_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._order_
https://python.github.io/python-docs-zh-tw/howto/enum.html#private-names
Private nameshttps://python.github.io/python-docs-zh-tw/reference/expressions.html#private-name-mangling
https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-member-type
https://python.github.io/python-docs-zh-tw/howto/enum.html#creating-members-that-are-mixed-with-other-data-types
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
https://python.github.io/python-docs-zh-tw/howto/enum.html#boolean-value-of-enum-classes-and-members
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
Truehttps://python.github.io/python-docs-zh-tw/library/constants.html#True
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Truehttps://python.github.io/python-docs-zh-tw/library/constants.html#True
https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-classes-with-methods
Planethttps://python.github.io/python-docs-zh-tw/howto/enum.html#planet
dir()https://python.github.io/python-docs-zh-tw/library/functions.html#dir
https://python.github.io/python-docs-zh-tw/howto/enum.html#combining-members-of-flag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
https://python.github.io/python-docs-zh-tw/howto/enum.html#flag-and-intflag-minutia
https://python.github.io/python-docs-zh-tw/howto/enum.html#how-are-enums-and-flags-different
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-classes
EnumTypehttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType
__contains__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__contains__
__dir__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__dir__
__iter__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__iter__
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
EnumTypehttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
__getnewargs__()https://python.github.io/python-docs-zh-tw/library/pickle.html#object.__getnewargs__
__str__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__str__
__repr__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__repr__
https://python.github.io/python-docs-zh-tw/howto/enum.html#flag-classes
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-members-aka-instances
EnumTypehttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
https://python.github.io/python-docs-zh-tw/howto/enum.html#flag-members
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-cookbook
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
https://python.github.io/python-docs-zh-tw/howto/enum.html#omitting-values
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
objecthttps://python.github.io/python-docs-zh-tw/library/functions.html#object
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
https://python.github.io/python-docs-zh-tw/howto/enum.html#using-auto
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
objecthttps://python.github.io/python-docs-zh-tw/library/functions.html#object
https://python.github.io/python-docs-zh-tw/howto/enum.html#using-object
objecthttps://python.github.io/python-docs-zh-tw/library/functions.html#object
__repr__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__repr__
https://python.github.io/python-docs-zh-tw/howto/enum.html#using-a-descriptive-string
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
https://python.github.io/python-docs-zh-tw/howto/enum.html#using-a-custom-new
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
https://python.github.io/python-docs-zh-tw/howto/enum.html#orderedenum
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
https://python.github.io/python-docs-zh-tw/howto/enum.html#duplicatefreeenum
unique()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.unique
https://python.github.io/python-docs-zh-tw/howto/enum.html#multivalueenum
https://python.github.io/python-docs-zh-tw/howto/enum.html#planet
__new__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__new__
__init__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__init__
https://python.github.io/python-docs-zh-tw/howto/enum.html#timeperiod
_ignore_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._ignore_
https://python.github.io/python-docs-zh-tw/howto/enum.html#subclassing-enumtype
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
EnumTypehttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType
目錄https://python.github.io/python-docs-zh-tw/contents.html
Enum HOWTOhttps://python.github.io/python-docs-zh-tw/howto/enum.html
Programmatic access to enumeration members and their attributeshttps://python.github.io/python-docs-zh-tw/howto/enum.html#programmatic-access-to-enumeration-members-and-their-attributes
Duplicating enum members and valueshttps://python.github.io/python-docs-zh-tw/howto/enum.html#duplicating-enum-members-and-values
Ensuring unique enumeration valueshttps://python.github.io/python-docs-zh-tw/howto/enum.html#ensuring-unique-enumeration-values
Using automatic valueshttps://python.github.io/python-docs-zh-tw/howto/enum.html#using-automatic-values
Iterationhttps://python.github.io/python-docs-zh-tw/howto/enum.html#iteration
比較https://python.github.io/python-docs-zh-tw/howto/enum.html#comparisons
Allowed members and attributes of enumerationshttps://python.github.io/python-docs-zh-tw/howto/enum.html#allowed-members-and-attributes-of-enumerations
Restricted Enum subclassinghttps://python.github.io/python-docs-zh-tw/howto/enum.html#restricted-enum-subclassing
Dataclass supporthttps://python.github.io/python-docs-zh-tw/howto/enum.html#dataclass-support
Picklinghttps://python.github.io/python-docs-zh-tw/howto/enum.html#pickling
Functional APIhttps://python.github.io/python-docs-zh-tw/howto/enum.html#functional-api
Derived Enumerationshttps://python.github.io/python-docs-zh-tw/howto/enum.html#derived-enumerations
IntEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#intenum
StrEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#strenum
IntFlaghttps://python.github.io/python-docs-zh-tw/howto/enum.html#intflag
Flaghttps://python.github.io/python-docs-zh-tw/howto/enum.html#flag
其他https://python.github.io/python-docs-zh-tw/howto/enum.html#others
When to use __new__() vs. __init__()https://python.github.io/python-docs-zh-tw/howto/enum.html#when-to-use-new-vs-init
Finer Pointshttps://python.github.io/python-docs-zh-tw/howto/enum.html#finer-points
有支援的 __dunder__ 名稱https://python.github.io/python-docs-zh-tw/howto/enum.html#supported-dunder-names
有支援的 _sunder_ 名稱https://python.github.io/python-docs-zh-tw/howto/enum.html#supported-sunder-names
_Private__nameshttps://python.github.io/python-docs-zh-tw/howto/enum.html#private-names
Enum member typehttps://python.github.io/python-docs-zh-tw/howto/enum.html#enum-member-type
Creating members that are mixed with other data typeshttps://python.github.io/python-docs-zh-tw/howto/enum.html#creating-members-that-are-mixed-with-other-data-types
Boolean value of Enum classes and membershttps://python.github.io/python-docs-zh-tw/howto/enum.html#boolean-value-of-enum-classes-and-members
Enum classes with methodshttps://python.github.io/python-docs-zh-tw/howto/enum.html#enum-classes-with-methods
Flag 的成員組合https://python.github.io/python-docs-zh-tw/howto/enum.html#combining-members-of-flag
Flag and IntFlag minutiahttps://python.github.io/python-docs-zh-tw/howto/enum.html#flag-and-intflag-minutia
Enums 和 Flags 有何不同?https://python.github.io/python-docs-zh-tw/howto/enum.html#how-are-enums-and-flags-different
Enum 類別https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-classes
Flag 類別https://python.github.io/python-docs-zh-tw/howto/enum.html#flag-classes
Enum Members (aka instances)https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-members-aka-instances
Flag 成員https://python.github.io/python-docs-zh-tw/howto/enum.html#flag-members
Enum Cookbookhttps://python.github.io/python-docs-zh-tw/howto/enum.html#enum-cookbook
省略值https://python.github.io/python-docs-zh-tw/howto/enum.html#omitting-values
使用 autohttps://python.github.io/python-docs-zh-tw/howto/enum.html#using-auto
使用 objecthttps://python.github.io/python-docs-zh-tw/howto/enum.html#using-object
Using a descriptive stringhttps://python.github.io/python-docs-zh-tw/howto/enum.html#using-a-descriptive-string
使用自訂的 __new__()https://python.github.io/python-docs-zh-tw/howto/enum.html#using-a-custom-new
OrderedEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#orderedenum
DuplicateFreeEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#duplicatefreeenum
MultiValueEnumhttps://python.github.io/python-docs-zh-tw/howto/enum.html#multivalueenum
Planethttps://python.github.io/python-docs-zh-tw/howto/enum.html#planet
TimePeriodhttps://python.github.io/python-docs-zh-tw/howto/enum.html#timeperiod
子類別化 EnumTypehttps://python.github.io/python-docs-zh-tw/howto/enum.html#subclassing-enumtype
使用 GDB 來為 C API 擴充功能和 CPython 內部偵錯https://python.github.io/python-docs-zh-tw/howto/gdb_helpers.html
函式程式設計 HOWTOhttps://python.github.io/python-docs-zh-tw/howto/functional.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/howto/enum.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/howto/functional.html
上一頁https://python.github.io/python-docs-zh-tw/howto/gdb_helpers.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 如何達成任務https://python.github.io/python-docs-zh-tw/howto/index.html
Enum HOWTOhttps://python.github.io/python-docs-zh-tw/howto/enum.html
版權所有https://python.github.io/python-docs-zh-tw/copyright.html
歷史與授權條款https://python.github.io/license.html
敬請捐贈。https://www.python.org/psf/donations/
發現 bughttps://python.github.io/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.