Skip to content

Commit 0afdd06

Browse files
committed
izip → zip
1 parent deefa51 commit 0afdd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shapefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@ def __shape(self, oid=None, bbox=None):
13331333
# Read points - produces a list of [x,y] values
13341334
if nPoints:
13351335
flat = unpack("<%sd" % (2 * nPoints), f.read(16 * nPoints))
1336-
record.points = list(izip(*(iter(flat),) * 2))
1336+
record.points = list(zip(*(iter(flat),) * 2))
13371337
# Read z extremes and values
13381338
if shapeType in (13, 15, 18, 31):
13391339
(zmin, zmax) = unpack("<2d", f.read(16))

0 commit comments

Comments
 (0)