Skip to content

Commit 9fa9a90

Browse files
authored
Aktualisieren von blockshape.py
1 parent b4fc6ae commit 9fa9a90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scratchattach/editor/blockshape.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Perhaps this should be merged with pallete.py
77
from dataclasses import dataclass
8-
from typing import Final
8+
from typing import Final, Literal
99

1010
from . import commons
1111
from scratchattach.utils.enums import _EnumWrapper
@@ -20,7 +20,7 @@ def __bool__(self):
2020
raise TypeError("Need mutation data to work out attribute value.")
2121

2222

23-
MUTATION_DEPENDENT: Final[_MutationDependent] = _MutationDependent()
23+
MUTATION_DEPENDENT: Final[Literal[_MutationDependent.INSTANCE]] = _MutationDependent.INSTANCE
2424
"""Value used when mutation data is required to work out the attribute value"""
2525

2626

0 commit comments

Comments
 (0)