A feature-rich command-line audio/video downloader
[docs] Fix `Namespace` documentation (#17324)
doe10803d062c86eab2
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.pyindex 9bd9423218..c96b9d5f22 100644--- a/yt_dlp/YoutubeDL.py+++ b/yt_dlp/YoutubeDL.py@@ -672,7 +672,6 @@ class YoutubeDL:except Exception as e:self.write_debug(f'Failed to enable VT mode: {e}')- # hehe "immutable" namespaceself._out_files.console = next(filter(supports_terminal_sequences, (sys.stderr, sys.stdout)), None)if self.params.get('no_color'):diff --git a/yt_dlp/utils/_utils.py b/yt_dlp/utils/_utils.pyindex f7cba13d21..5be084eb57 100644--- a/yt_dlp/utils/_utils.py+++ b/yt_dlp/utils/_utils.py@@ -5083,7 +5083,7 @@ class function_with_repr:class Namespace(types.SimpleNamespace):- """Immutable namespace"""+ """SimpleNamespace iterable over attribute values"""def __iter__(self):return iter(self.__dict__.values())