Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Change a docstring to be more accurate.

Aathish541f18639bad
diff --git a/manim/utils/config_utils.py b/manim/utils/config_utils.py
index 4975bdbe4..30689e4af 100644
--- a/manim/utils/config_utils.py
+++ b/manim/utils/config_utils.py
@@ -519,7 +519,7 @@ def _subcommand_name(ignore=()):
Returns
-------
- Union[:class:`str`, :class:`None`]
+ Optional[:class:`str`]
If a subcommand is found, returns the string of its name. Returns None if no
subcommand is found.
"""