mirror of https://github.com/yt-dlp/yt-dlp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
488 B
Python
15 lines
488 B
Python
1 year ago
|
import warnings
|
||
|
|
||
|
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))
|
||
|
del passthrough_module
|
||
|
|
||
|
# isort: off
|
||
|
from .traversal import *
|
||
|
from ._utils import *
|
||
|
from ._utils import _configuration_args, _get_exe_version_output
|
||
|
from ._deprecated import *
|