mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Remove needless list(...)
This commit is contained in:
parent
8f6c14ad5f
commit
eab8edd51d
1 changed files with 1 additions and 1 deletions
|
@ -625,7 +625,7 @@ class Mobject(object):
|
|||
result._data_has_changed = True
|
||||
|
||||
family = self.get_family()
|
||||
for attr, value in list(self.__dict__.items()):
|
||||
for attr, value in self.__dict__.items():
|
||||
if isinstance(value, Mobject) and value is not self:
|
||||
if value in family:
|
||||
setattr(result, attr, result.family[self.family.index(value)])
|
||||
|
|
Loading…
Add table
Reference in a new issue