Skip to content

Commit

Permalink
fix to recursion params
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Sulla committed Dec 31, 2023
1 parent e1ae6d5 commit 2ca2f2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/frozendict/cool.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,11 @@ def deepfreeze(o, custom_converters = None, custom_inverse_converters = None):
o_copy = copy(o)

for k, v in getItems(o)(o_copy):
o[k] = deepfreeze(v)
o[k] = deepfreeze(
v,
custom_converters = custom_converters,
custom_inverse_converters = custom_inverse_converters
)

if frozen_type:
return type_o(o)
Expand Down

0 comments on commit 2ca2f2d

Please sign in to comment.