Skip to content

Commit a17fe8d

Browse files
Update emit.py
1 parent 27088bf commit a17fe8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/codegen/emit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def object_annotation(self, obj: object, line: str) -> str:
212212
if formatted.startswith("frozenset({"):
213213
frozenset_items = formatted[11:-2]
214214
# if our frozenset contains another frozenset or a tuple, we will need better logic
215-
# here, but this redimentary logic will still vastly improve codegen determinism.
215+
# here, but this rudimentary logic will still vastly improve codegen determinism.
216216
if "(" not in frozenset_items:
217217
sorted_items = ", ".join(sorted(frozenset_items.split(", ")))
218218
formatted = "frozenset({" + sorted_items + "})"

0 commit comments

Comments
 (0)