summaryrefslogtreecommitdiffstats
path: root/tqdm/_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'tqdm/_main.py')
-rw-r--r--tqdm/_main.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tqdm/_main.py b/tqdm/_main.py
new file mode 100644
index 0000000..04fdeef
--- /dev/null
+++ b/tqdm/_main.py
@@ -0,0 +1,9 @@
+from warnings import warn
+
+from .cli import * # NOQA
+from .cli import __all__ # NOQA
+from .std import TqdmDeprecationWarning
+
+warn("This function will be removed in tqdm==5.0.0\n"
+ "Please use `tqdm.cli.*` instead of `tqdm._main.*`",
+ TqdmDeprecationWarning, stacklevel=2)