Skip to content

Commit 3e34620

Browse files
schwehrJamesParrott
authored andcommitted
izip → zip
1 parent ce8b059 commit 3e34620

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
@@ -1338,7 +1338,7 @@ def __shape(self, oid=None, bbox=None):
13381338
# Read points - produces a list of [x,y] values
13391339
if nPoints:
13401340
flat = unpack("<%sd" % (2 * nPoints), f.read(16 * nPoints))
1341-
record.points = list(izip(*(iter(flat),) * 2))
1341+
record.points = list(zip(*(iter(flat),) * 2))
13421342
# Read z extremes and values
13431343
if shapeType in (13, 15, 18, 31):
13441344
(zmin, zmax) = unpack("<2d", f.read(16))

0 commit comments

Comments
 (0)