Skip to content

Commit a656965

Browse files
authored
Fixed wrong doc for the __recordFmt() method
1 parent 768a535 commit a656965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shapefile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def __dbfHeader(self):
477477
self.__recStruct = Struct(fmt)
478478

479479
def __recordFmt(self):
480-
"""Calculates the size of a .shp geometry record."""
480+
"""Calculates the format and size of a .dbf record."""
481481
if not self.numRecords:
482482
self.__dbfHeader()
483483
fmt = ''.join(['%ds' % fieldinfo[2] for fieldinfo in self.fields])

0 commit comments

Comments
 (0)