Small formatting change

This commit is contained in:
Grant Sanderson 2021-12-13 16:01:54 -08:00
parent 3a1e5e1bcf
commit 7fa01d5de8

View file

@ -1032,8 +1032,8 @@ class VGroup(VMobject):
raise Exception("All submobjects must be of type VMobject")
super().__init__(**kwargs)
self.add(*vmobjects)
def __add__(self:'VGroup', other : 'VMobject' or 'VGroup'):
def __add__(self: 'VGroup', other: 'VMobject' or 'VGroup'):
assert(isinstance(other, VMobject))
return self.add(other)