lucien2k / wipy-urllib

31 stars 16 forks source link

xrange no longer valid in urllib.py #5

Open BNNorman opened 6 months ago

BNNorman commented 6 months ago

I needed to unquote some data and found your code but it throws an error in Python 3.

Note:Python 3 range() replaces and works the same as Python 2 xrange(). A minor code change is required otherwise a useful library.

Cheers