Skip to content

Commit

Permalink
Fix typehint of :meth:.Scene.restructure_mobjects. (#3902)
Browse files Browse the repository at this point in the history
  • Loading branch information
fogsong233 authored Aug 12, 2024
1 parent c0b0487 commit aa660c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manim/scene/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from ..utils.iterables import list_difference_update, list_update

if TYPE_CHECKING:
from collections.abc import Iterable
from collections.abc import Iterable, Sequence
from typing import Callable


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

def restructure_mobjects(
self,
to_remove: Mobject,
to_remove: Sequence[Mobject],
mobject_list_name: str = "mobjects",
extract_families: bool = True,
):
Expand Down

0 comments on commit aa660c7

Please sign in to comment.