Skip to content

Commit 719cd8c

Browse files
committed
Remove redundant brackets
1 parent 6f9df8d commit 719cd8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manimlib/utils/iterables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,6 @@ def hash_obj(obj):
147147
return hash(tuple(frozenset(sorted(new_obj.items()))))
148148

149149
if isinstance(obj, (set, tuple, list)):
150-
return hash(tuple([hash_obj(e) for e in obj]))
150+
return hash(tuple(hash_obj(e) for e in obj))
151151

152152
return hash(obj)

0 commit comments

Comments
 (0)