Skip to content

Commit e67f467

Browse files
Update literals.py
1 parent ede7bf0 commit e67f467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/codegen/literals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def _encode_collection_values(
168168
if isinstance(value, frozenset):
169169
# even though frozensets are not sorted in python, we need to sort the items here
170170
# to improve the determinism of the generated C file, making it easier to compare
171-
# differences between compilation units.
171+
# differences in the C files generated by different versions of your code.
172172
sort_keys_to_values = {str(v) + type(v).__name__: v for v in value}
173173
items = tuple(
174174
sort_keys_to_values[sort_key] for sort_key in sorted(sort_keys_to_values)

0 commit comments

Comments
 (0)