mirror of https://github.com/tqdm/tqdm.git
backward-compatibility
This commit is contained in:
parent
06d3310fff
commit
49471d3b43
|
@ -0,0 +1,7 @@
|
|||
from .main import * # NOQA
|
||||
from .main 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.main.*` instead of `tqdm._main.*`",
|
||||
TqdmDeprecationWarning)
|
|
@ -0,0 +1,7 @@
|
|||
from .std import * # NOQA
|
||||
from .std 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.std.*` instead of `tqdm._tqdm.*`",
|
||||
TqdmDeprecationWarning)
|
|
@ -0,0 +1,7 @@
|
|||
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)
|
|
@ -0,0 +1,7 @@
|
|||
from .notebook import * # NOQA
|
||||
from .notebook 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.notebook.*` instead of `tqdm._tqdm_notebook.*`",
|
||||
TqdmDeprecationWarning)
|
|
@ -0,0 +1,12 @@
|
|||
from .utils import CUR_OS, IS_WIN, IS_NIX, RE_ANSI, \
|
||||
_range, _unich, _unicode, colorama, WeakSet, _basestring, _OrderedDict, \
|
||||
FormatReplace, Comparable, SimpleTextIOWrapper, _is_utf, \
|
||||
_supports_unicode, _is_ascii, _environ_cols_wrapper, \
|
||||
_environ_cols_windows, _environ_cols_tput, _environ_cols_linux, \
|
||||
_term_move_up
|
||||
|
||||
from .std import TqdmDeprecationWarning
|
||||
from warnings import warn
|
||||
warn("This function will be removed in tqdm==5.0.0\n"
|
||||
"Please use `tqdm.utils.*` instead of `tqdm._utils.*`",
|
||||
TqdmDeprecationWarning)
|
Loading…
Reference in New Issue