mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 12:32:36 +08:00
fix: fix type hint of remove_empty_value
This commit is contained in:
@ -17,7 +17,7 @@ def get_manim_dir() -> str:
|
||||
return os.path.abspath(os.path.join(manimlib_dir, ".."))
|
||||
|
||||
|
||||
def remove_empty_value(dictionary: dict[str, Any]) -> dict[str, Any]:
|
||||
def remove_empty_value(dictionary: dict[str, Any]) -> None:
|
||||
for key in list(dictionary.keys()):
|
||||
if dictionary[key] == "":
|
||||
dictionary.pop(key)
|
||||
|
Reference in New Issue
Block a user