Skip to content

Remove duplicate __all__ declarations in vectorized_mobject.py #4108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions manim/mobject/types/vectorized_mobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,6 @@
# - Think about length of self.points. Always 0 or 1 mod 4?
# That's kind of weird.

__all__ = [
"VMobject",
"VGroup",
"VDict",
"VectorizedPoint",
"CurvesAsSubmobjects",
"VectorizedPoint",
"DashedVMobject",
]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The __all__ declaration already exists at the top of this file, specifically in lines 5–12.
This duplicate declaration is unnecessary and could lead to confusion. It would be better to consolidate the exports into a single __all__ definition at the beginning of the file. Original declaration in the main branch: vectorized_mobject.py.


class VMobject(Mobject):
"""A vectorized mobject.
Expand Down
Loading