Added documentation for the output_to argument.

This commit is contained in:
Jack McCracken 2014-01-10 15:54:35 -05:00
parent 6464656661
commit 2cc124dbe5
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ def tqdm(iterable, desc='', total=None, leave=False, mininterval=0.5, miniters=1
iterating over all elements. iterating over all elements.
If less than mininterval seconds or miniters iterations have passed since If less than mininterval seconds or miniters iterations have passed since
the last progress meter update, it is not updated again. the last progress meter update, it is not updated again.
'output_to' can be a file-like object to output the progress message to
If not specified, prints to sys.stdout.
""" """
if total is None: if total is None:
try: try: