summaryrefslogtreecommitdiffhomepage
path: root/libs/tqdm/_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/tqdm/_main.py')
-rw-r--r--libs/tqdm/_main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/tqdm/_main.py b/libs/tqdm/_main.py
index 07b6730b1..04fdeeff1 100644
--- a/libs/tqdm/_main.py
+++ b/libs/tqdm/_main.py
@@ -1,7 +1,9 @@
+from warnings import warn
+
from .cli import * # NOQA
from .cli import __all__ # NOQA
from .std import TqdmDeprecationWarning
-from warnings import warn
+
warn("This function will be removed in tqdm==5.0.0\n"
"Please use `tqdm.cli.*` instead of `tqdm._main.*`",
TqdmDeprecationWarning, stacklevel=2)