mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Remove redundant brackets
This commit is contained in:
parent
6f9df8db26
commit
719cd8cde3
1 changed files with 1 additions and 1 deletions
|
@ -147,6 +147,6 @@ def hash_obj(obj):
|
|||
return hash(tuple(frozenset(sorted(new_obj.items()))))
|
||||
|
||||
if isinstance(obj, (set, tuple, list)):
|
||||
return hash(tuple([hash_obj(e) for e in obj]))
|
||||
return hash(tuple(hash_obj(e) for e in obj))
|
||||
|
||||
return hash(obj)
|
||||
|
|
Loading…
Add table
Reference in a new issue