Skip to content

Commit bb5f7cf

Browse files
author
ARF
committed
restore & fix iterShapeRecords() doctest
1 parent afaf90e commit bb5f7cf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,10 @@ The blockgroup key and population count:
295295

296296
There is also an iterShapeRecords() method to iterate through large files:
297297

298-
>> shapeRecs = sf.iterShapeRecords()
299-
>> for shape, rec in shapeRecs:
300-
.. # do something here
298+
>>> shapeRecs = sf.iterShapeRecords()
299+
>>> for shapeRec in shapeRecs:
300+
... # do something here
301+
... pass
301302

302303
Writing Shapefiles
303304
++++++++++++++++++

0 commit comments

Comments
 (0)