_utils.py 553 B

1234567891011
  1. from warnings import warn
  2. from .std import TqdmDeprecationWarning
  3. from .utils import ( # NOQA, pylint: disable=unused-import
  4. CUR_OS, IS_NIX, IS_WIN, RE_ANSI, Comparable, FormatReplace, SimpleTextIOWrapper,
  5. _environ_cols_wrapper, _is_ascii, _is_utf, _screen_shape_linux, _screen_shape_tput,
  6. _screen_shape_windows, _screen_shape_wrapper, _supports_unicode, _term_move_up, colorama)
  7. warn("This function will be removed in tqdm==5.0.0\n"
  8. "Please use `tqdm.utils.*` instead of `tqdm._utils.*`",
  9. TqdmDeprecationWarning, stacklevel=2)