original_docstring: Returns a specific dbf record based on the supplied index.
docstring: Returns a specific dbf record based on the supplied index.
docstring_tokens: Returns a specific dbf record based on the supplied index .
code: def record(self, i=0):
          """Returns a specific dbf record based on the supplied index."""
          f = self.__getFileObj(self.dbf)
          if self.numRecords is None:
              self.__dbfHeader()
          i = self.__restrictIndex(i)
          recSize = self.__recStruct.size
          f.seek(0)
          f.seek(self.__dbfHdrLength + (i * recSize))
          return self.__record(oid=i)
code_tokens: def record ( self , i = 0 ) : f = self . __getFileObj ( self . dbf ) if self . numRecords is None : self . __dbfHeader ( ) i = self . __restrictIndex ( i ) recSize = self . __recStruct . size f . seek ( 0 ) f . seek ( self . __dbfHdrLength + ( i * recSize ) ) return self . __record ( oid = i )
short_docstring: Returns a specific dbf record based on the supplied index.
short_docstring_tokens: Returns a specific dbf record based on the supplied index .
comment: """Returns a specific dbf record based on the supplied index."""