We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34afe24 commit 97377e3Copy full SHA for 97377e3
mypyc/codegen/literals.py
@@ -150,12 +150,12 @@ def sort_frozenset_recursive(frozen: frozenset[object]) -> list[object]:
150
for key in sorted(sort_helper):
151
v = sort_helper[key]
152
if isinstance(v, frozenset):
153
- v = sort_frozenset_items(v)
+ v = sort_frozenset_recursive(v)
154
items.append(v)
155
return items
156
157
return self._encode_collection_values(
158
- {sort_frozenset_items(fr): i for fr, i in self.frozenset_literals.items()}
+ {sort_frozenset_recursive(fr): i for fr, i in self.frozenset_literals.items()}
159
)
160
161
def _encode_collection_values(
0 commit comments