summaryrefslogtreecommitdiffhomepage
path: root/libs/tqdm/_tqdm_gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/tqdm/_tqdm_gui.py')
-rw-r--r--libs/tqdm/_tqdm_gui.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/tqdm/_tqdm_gui.py b/libs/tqdm/_tqdm_gui.py
index 541f104fb..f32aa894f 100644
--- a/libs/tqdm/_tqdm_gui.py
+++ b/libs/tqdm/_tqdm_gui.py
@@ -1,7 +1,9 @@
+from warnings import warn
+
from .gui import * # NOQA
from .gui 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.gui.*` instead of `tqdm._tqdm_gui.*`",
TqdmDeprecationWarning, stacklevel=2)