mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 17:43:25 +08:00
Use assignment instead of annotation in third party enums (#11957)
This commit is contained in:
@@ -77,8 +77,8 @@ class TableCellFillMode(CoerciveEnum):
|
||||
def should_fill_cell(self, i: int, j: int) -> bool: ...
|
||||
|
||||
class TableSpan(CoerciveEnum):
|
||||
ROW: Literal["ROW"]
|
||||
COL: Literal["COL"]
|
||||
ROW = "ROW"
|
||||
COL = "COL"
|
||||
|
||||
class TableHeadingsDisplay(CoerciveIntEnum):
|
||||
NONE = 0
|
||||
|
||||
Reference in New Issue
Block a user