Skip to content

Commit

Permalink
Update param/_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Nov 22, 2024
1 parent 3fdc191 commit 2cc7a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion param/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def _validate_error_prefix(parameter, attribute=None):

def _is_mutable_container(value):
"""True for mutable containers, which typically need special handling when being copied"""
return issubclass(type(value), MUTABLE_TYPES)
return isinstance(value, MUTABLE_TYPES)


def full_groupby(l, key=lambda x: x):
Expand Down

0 comments on commit 2cc7a84

Please sign in to comment.