mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
fix: fix type hint of remove_empty_value
This commit is contained in:
parent
4c16bfc2c0
commit
db71ed1ae9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue