original_docstring: Returns a shape object for a shape in the geometry
          record file.
docstring: Returns a shape object for a shape in the geometry
  record file.
docstring_tokens: Returns a shape object for a shape in the geometry record file .
code: def shape(self, i=0):
          """Returns a shape object for a shape in the geometry
          record file."""
          shp = self.__getFileObj(self.shp)
          i = self.__restrictIndex(i)
          offset = self.__shapeIndex(i)
          if not offset:
              # Shx index not available so iterate the full list.
              for j,k in enumerate(self.iterShapes()):
                  if j == i:
                      return k
          shp.seek(offset)
          return self.__shape()
code_tokens: def shape ( self , i = 0 ) : shp = self . __getFileObj ( self . shp ) i = self . __restrictIndex ( i ) offset = self . __shapeIndex ( i ) if not offset : for j , k in enumerate ( self . iterShapes ( ) ) : if j == i : return k shp . seek ( offset ) return self . __shape ( )
short_docstring: Returns a shape object for a shape in the geometry
  record file.
short_docstring_tokens: Returns a shape object for a shape in the geometry record file .
comment: """Returns a shape object for a shape in the geometry
          record file."""$SEP$# Shx index not available so iterate the full list.
  