MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / tnrange

Function tnrange

pager_lib/tqdm/__init__.py:31–38  ·  view source on GitHub ↗

Shortcut for `tqdm.notebook.tqdm(range(*args), **kwargs)`.

(*args, **kwargs)

Source from the content-addressed store, hash-verified

29
30
31def tnrange(*args, **kwargs): # pragma: no cover
32 """Shortcut for `tqdm.notebook.tqdm(range(*args), **kwargs)`."""
33 from warnings import warn
34
35 from .notebook import trange as _tnrange
36 warn("Please use `tqdm.notebook.trange` instead of `tqdm.tnrange`",
37 TqdmDeprecationWarning, stacklevel=2)
38 return _tnrange(*args, **kwargs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected