A community-maintained Python framework for creating mathematical animations.
Fix typehint of :meth:`.Scene.restructure_mobjects`. (#3902)
fogsong233aa660c77ec6d
diff --git a/manim/scene/scene.py b/manim/scene/scene.pyindex 4c65e2685..0e0329392 100644--- a/manim/scene/scene.py+++ b/manim/scene/scene.py@@ -52,7 +52,7 @@ from ..utils.file_ops import open_media_filefrom ..utils.iterables import list_difference_update, list_updateif TYPE_CHECKING:- from collections.abc import Iterable+ from collections.abc import Iterable, Sequencefrom typing import Callable@@ -620,7 +620,7 @@ class Scene:def restructure_mobjects(self,- to_remove: Mobject,+ to_remove: Sequence[Mobject],mobject_list_name: str = "mobjects",extract_families: bool = True,):