We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 482f622 commit fff3921Copy full SHA for fff3921
manim/mobject/builders.py
@@ -90,12 +90,10 @@ class _UpdaterBuilder(Generic[T_co]):
90
def __init__(self, mobject: T_co):
91
self._mobject = mobject
92
93
- def __getattribute__(self, name: str, /):
+ def __getattr__(self, name: str, /):
94
# just return a function that will add the updater
95
def add_updater(*method_args, **method_kwargs):
96
- # use object __getattr__ to avoid infinite recursion
97
- mob = object.__getattribute__(self, "_mobject")
98
- mob.add_updater(
+ self._mobject.add_updater(
99
lambda m: getattr(m, name)(*method_args, **method_kwargs),
100
call_updater=True,
101
)
0 commit comments