Browse Source

use six's xrange in util

pull/50/head
Rossen Georgiev 9 years ago
parent
commit
dda7e30e7b
  1. 6
      steam/util/__init__.py

6
steam/util/__init__.py

@ -4,11 +4,7 @@ import weakref
import struct
import socket
import sys
if sys.version_info < (3,):
_range = xrange
else:
_range = range
from six.moves import xrange as _range
def ip_from_int(ip):
"""Convert IP to :py:class:`int`

Loading…
Cancel
Save