Skip to content

Commit 45185ed

Browse files
committed
Micro-optimize by adding a Final annotation
1 parent d836ead commit 45185ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypy/literals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100

101101

102102
Key: _TypeAlias = tuple[Any, ...]
103-
LITERAL_NAMES = frozenset(
103+
LITERAL_NAMES: Final = frozenset(
104104
("builtins.True", "builtins.False", "builtins.None", "builtins.NotImplemented")
105105
)
106106

0 commit comments

Comments
 (0)