diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 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" namespace self._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.py index 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())