From f757a236552ad3033659080784b3610dcbf3d0e3 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Thu, 18 Feb 2021 04:26:19 +0000 Subject: [PATCH] rename `wxpython` => `wx` due to absolute imports --- tqdm/{wxpython.py => wx.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tqdm/{wxpython.py => wx.py} (96%) diff --git a/tqdm/wxpython.py b/tqdm/wx.py similarity index 96% rename from tqdm/wxpython.py rename to tqdm/wx.py index 41aa3925..3081b570 100644 --- a/tqdm/wxpython.py +++ b/tqdm/wx.py @@ -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)