Skip to content

Commit aa660c7

Browse files
authored
Fix typehint of :meth:.Scene.restructure_mobjects. (#3902)
1 parent c0b0487 commit aa660c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manim/scene/scene.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
from ..utils.iterables import list_difference_update, list_update
5353

5454
if TYPE_CHECKING:
55-
from collections.abc import Iterable
55+
from collections.abc import Iterable, Sequence
5656
from typing import Callable
5757

5858

@@ -620,7 +620,7 @@ def remove_updater(self, func: Callable[[float], None]) -> None:
620620

621621
def restructure_mobjects(
622622
self,
623-
to_remove: Mobject,
623+
to_remove: Sequence[Mobject],
624624
mobject_list_name: str = "mobjects",
625625
extract_families: bool = True,
626626
):

0 commit comments

Comments
 (0)