From 19c6f5416cd5964f9efe748eafde79ae50a92562 Mon Sep 17 00:00:00 2001 From: Noam Yorav-Raphael Date: Sat, 11 Jan 2014 23:33:42 +0200 Subject: [PATCH] Update trange docstring to reflect using range on py3 --- tqdm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tqdm.py b/tqdm.py index afe18a4a..d817f4d4 100644 --- a/tqdm.py +++ b/tqdm.py @@ -96,7 +96,7 @@ def tqdm(iterable, desc='', total=None, leave=False, mininterval=0.5, miniters=1 sp.print_status(prefix + format_meter(n, total, cur_t-start_t)) def trange(*args, **kwargs): - """A shortcut for writing tqdm(xrange)""" + """A shortcut for writing tqdm(range()) on py3 or tqdm(xrange()) on py2""" try: f = xrange except NameError: