aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/compat/urllib/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/compat/urllib/__init__.py')
-rw-r--r--hypervideo_dl/compat/urllib/__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/hypervideo_dl/compat/urllib/__init__.py b/hypervideo_dl/compat/urllib/__init__.py
new file mode 100644
index 0000000..b27cc61
--- /dev/null
+++ b/hypervideo_dl/compat/urllib/__init__.py
@@ -0,0 +1,10 @@
+# flake8: noqa: F405
+from urllib import * # noqa: F403
+
+del request
+from . import request # noqa: F401
+
+from ..compat_utils import passthrough_module
+
+passthrough_module(__name__, 'urllib')
+del passthrough_module