code: def __recordFmt(self):
          
          if not self.numRecords:
              self.__dbfHeader()
          fmt = ''.join(['%ds' % fieldinfo[2] for fieldinfo in self.fields])
          fmtSize = calcsize(fmt)
          return (fmt, fmtSize)
docs: Calculates the size of a .shp geometry record.