fix enum values that are empty tuples
This commit is contained in:
parent
87352a4fd7
commit
03bfdd3d99
1 changed files with 5 additions and 5 deletions
|
|
@ -425,19 +425,19 @@ class TextLineFonts:
|
|||
|
||||
TextLineFonts._define_fonts()
|
||||
|
||||
class FontVariantCode(enum.Enum):
|
||||
class FontVariantCode(tuple, enum.Enum):
|
||||
CODE = ("code",)
|
||||
NOT_CODE = ()
|
||||
|
||||
class FontVariantBold(enum.Enum):
|
||||
class FontVariantBold(tuple, enum.Enum):
|
||||
BOLD = ("b",)
|
||||
NOT_BOLD = ()
|
||||
|
||||
class FontVariantItalic(enum.Enum):
|
||||
class FontVariantItalic(tuple, enum.Enum):
|
||||
ITALIC = ("i",)
|
||||
NOT_ITALIC = ()
|
||||
|
||||
class FontVariantSubSuper(enum.Enum):
|
||||
class FontVariantSubSuper(tuple, enum.Enum):
|
||||
NOT_SUB_SUPER = ()
|
||||
SUBSCRIPT = ("sub",)
|
||||
SUPERSCRIPT = ("sup",)
|
||||
|
|
@ -1934,4 +1934,4 @@ def main():
|
|||
"powerisa-instructions.xml",
|
||||
encoding="utf-8",
|
||||
xml_declaration=True,
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue