]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/utils/__init__.py
[networking] Add module (#2861)
[yt-dlp.git] / yt_dlp / utils / __init__.py
index 2dd20ada25deeda4c7f39d4c33345308e9b83991..0b00adddb4e8be03cf8b30744836dcd5a7a70536 100644 (file)
@@ -3,13 +3,10 @@
 
 from ..compat.compat_utils import passthrough_module
 
-# XXX: Implement this the same way as other DeprecationWarnings without circular import
-passthrough_module(__name__, '._legacy', callback=lambda attr: warnings.warn(
-    DeprecationWarning(f'{__name__}.{attr} is deprecated'), stacklevel=5))
+passthrough_module(__name__, '._deprecated')
 del passthrough_module
 
 # isort: off
 from .traversal import *
 from ._utils import *
 from ._utils import _configuration_args, _get_exe_version_output
-from ._deprecated import *