Adding upstream version 4.64.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
ee08d9327c
commit
2da88b2fbc
89 changed files with 16770 additions and 0 deletions
11
examples/include_no_requirements.py
Normal file
11
examples/include_no_requirements.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
# How to import tqdm in any frontend without enforcing it as a dependency
|
||||
try:
|
||||
from tqdm.auto import tqdm
|
||||
except ImportError:
|
||||
|
||||
def tqdm(*args, **kwargs):
|
||||
if args:
|
||||
return args[0]
|
||||
return kwargs.get('iterable', None)
|
||||
|
||||
__all__ = ['tqdm']
|
Loading…
Add table
Add a link
Reference in a new issue