code: def shape(self, i=0):
          
          shp = self.__getFileObj(self.shp)
          i = self.__restrictIndex(i)
          offset = self.__shapeIndex(i)
          if not offset:
              # Shx index not available so use the full list.
              shapes = self.shapes()
              return shapes[i]
          shp.seek(offset)
          return self.__shape()
docs: Returns a shape object for a shape in the the geometry
          record file.