Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Update manim/utils/hashing.py

Hugues Devimeux9380036a276a
diff --git a/manim/utils/hashing.py b/manim/utils/hashing.py
index abd5b03ca..471b01893 100644
--- a/manim/utils/hashing.py
+++ b/manim/utils/hashing.py
@@ -112,8 +112,9 @@ class CustomEncoder(json.JSONEncoder):
# A deepcopy isn't necessary as it is already recursive.
lst_copy = copy.copy(lst)
if isinstance(lst, tuple):
- # NOTE : Sometimes a tuple can pass through this function. As a tuple is immutable, we convert it to a list to be able to modify it.
- # It's ok as it's a copy.
+ # NOTE: Sometimes a tuple can pass through this function. As a tuple
+ # is immutable, we convert it to a list to be able to modify it.
+ # It's ok as it is a copy.
lst_copy = list(lst_copy)
for i, el in enumerate(lst):
if not isinstance(lst, tuple):