original_docstring: Returns all shapes in a shapefile.
docstring: Returns all shapes in a shapefile.
docstring_tokens: Returns all shapes in a shapefile .
code: def shapes(self):
          """Returns all shapes in a shapefile."""
          shp = self.__getFileObj(self.shp)
          # Found shapefiles which report incorrect
          # shp file length in the header. Can't trust
          # that so we seek to the end of the file
          # and figure it out.
          shp.seek(0,2)
          self.shpLength = shp.tell()
          shp.seek(100)
          shapes = Shapes()
          while shp.tell() < self.shpLength:
              shapes.append(self.__shape())
          return shapes
code_tokens: def shapes ( self ) : shp = self . __getFileObj ( self . shp ) shp . seek ( 0 , 2 ) self . shpLength = shp . tell ( ) shp . seek ( 100 ) shapes = Shapes ( ) while shp . tell ( ) < self . shpLength : shapes . append ( self . __shape ( ) ) return shapes
short_docstring: Returns all shapes in a shapefile.
short_docstring_tokens: Returns all shapes in a shapefile .
comment: """Returns all shapes in a shapefile."""$SEP$# Found shapefiles which report incorrect
  $SEP$# shp file length in the header. Can't trust
  $SEP$# that so we seek to the end of the file
  $SEP$# and figure it out.
  