rename `wxpython` => `wx` due to absolute imports

This commit is contained in:
Casper da Costa-Luis 2021-02-18 04:26:19 +00:00 committed by Casper da Costa-Luis
parent 8d8b1bd30e
commit f757a23655
No known key found for this signature in database
GPG Key ID: F5126E5FBD2512AD
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
WX progressbar decorator for iterators.
Usage:
>>> from tqdm.wxpython import trange, tqdm
>>> from tqdm.wx import trange, tqdm
>>> for i in trange(10, parent=wx.Panel()):
... ...
"""
@ -106,7 +106,7 @@ class tqdm_wx(std_tqdm): # pragma: no cover
def twrange(*args, **kwargs):
"""
A shortcut for `tqdm.wxpython.tqdm(xrange(*args), **kwargs)`.
A shortcut for `tqdm.wx.tqdm(xrange(*args), **kwargs)`.
On Python3+, `range` is used instead of `xrange`.
"""
return tqdm_wx(_range(*args), **kwargs)