mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Update mobject.py
This commit is contained in:
parent
6766e459f2
commit
77159eea2e
1 changed files with 1 additions and 1 deletions
|
@ -1597,7 +1597,7 @@ class Group(Mobject):
|
||||||
self.add(*mobjects)
|
self.add(*mobjects)
|
||||||
|
|
||||||
def __add__(self, other : 'Mobject' or 'Group'):
|
def __add__(self, other : 'Mobject' or 'Group'):
|
||||||
assert(isinstance(other(Mobject))
|
assert(isinstance(other, Mobject))
|
||||||
return self.add(other)
|
return self.add(other)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue