Update mobject.py

This commit is contained in:
Bill Xi 2021-11-01 10:19:06 +08:00 committed by GitHub
parent 6766e459f2
commit 77159eea2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1597,7 +1597,7 @@ class Group(Mobject):
self.add(*mobjects)
def __add__(self, other : 'Mobject' or 'Group'):
assert(isinstance(other(Mobject))
assert(isinstance(other, Mobject))
return self.add(other)