Skip to content

Commit

Permalink
Fix usage docstrings
Browse files Browse the repository at this point in the history
- replace `tqdm_notebook` with `tqdm.tnrange()` (or `._tqdm_notebook`)
- replace `tqdm_gui` with `tqdm.tgrange` (or `._tqdm_gui`)
- closes #714
- closes #715
  • Loading branch information
JaviMerino authored and casperdcl committed Jun 18, 2019
1 parent a3b4b35 commit e52835d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tqdm/_tqdm_gui.py
Expand Up @@ -3,7 +3,7 @@
Includes a default (x)range iterator printing to stderr.
Usage:
>>> from tqdm_gui import tgrange[, tqdm_gui]
>>> from tqdm import tgrange[, tqdm_gui]
>>> for i in tgrange(10): #same as: for i in tqdm_gui(xrange(10))
... ...
"""
Expand Down
2 changes: 1 addition & 1 deletion tqdm/_tqdm_notebook.py
Expand Up @@ -3,7 +3,7 @@
Includes a default (x)range iterator printing to stderr.
Usage:
>>> from tqdm_notebook import tnrange[, tqdm_notebook]
>>> from tqdm import tnrange[, tqdm_notebook]
>>> for i in tnrange(10): #same as: for i in tqdm_notebook(xrange(10))
... ...
"""
Expand Down

0 comments on commit e52835d

Please sign in to comment.