original_docstring: Creates a dbf attribute record. You can submit either a sequence of
          field values or keyword arguments of field names and values. Before
          adding records you must add fields for the record values using the
          field() method. If the record values exceed the number of fields the
          extra ones won't be added. In the case of using keyword arguments to specify
          field/value pairs only fields matching the already registered fields
          will be added.
docstring: Creates a dbf attribute record. You can submit either a sequence of
  field values or keyword arguments of field names and values. Before
  adding records you must add fields for the record values using the
  field() method. If the record values exceed the number of fields the
  extra ones won't be added. In the case of using keyword arguments to specify
  field/value pairs only fields matching the already registered fields
  will be added.
docstring_tokens: Creates a dbf attribute record . You can submit either a sequence of field values or keyword arguments of field names and values . Before adding records you must add fields for the record values using the field () method . If the record values exceed the number of fields the extra ones won ' t be added . In the case of using keyword arguments to specify field / value pairs only fields matching the already registered fields will be added .
code: def record(self, *recordList, **recordDict):
          """Creates a dbf attribute record. You can submit either a sequence of
          field values or keyword arguments of field names and values. Before
          adding records you must add fields for the record values using the
          field() method. If the record values exceed the number of fields the
          extra ones won't be added. In the case of using keyword arguments to specify
          field/value pairs only fields matching the already registered fields
          will be added."""
          # Balance if already not balanced
          if self.autoBalance and self.recNum > self.shpNum:
              self.balance()
              
          if recordList:
              record = list(recordList)
          elif recordDict:
              record = []
              for field in self.fields:
                  if field[0] == 'DeletionFlag':
                      continue # ignore deletionflag field in case it was specified
                  if field[0] in recordDict:
                      val = recordDict[field[0]]
                      if val is None:
                          record.append("")
                      else:
                          record.append(val)
          else:
              # Blank fields for empty record
              record = ["" for field in self.fields if field[0] != 'DeletionFlag']
          self.__dbfRecord(record)
code_tokens: def record ( self , * recordList , ** recordDict ) : if self . autoBalance and self . recNum > self . shpNum : self . balance ( ) if recordList : record = list ( recordList ) elif recordDict : record = [ ] for field in self . fields : if field [ 0 ] == 'DeletionFlag' : continue if field [ 0 ] in recordDict : val = recordDict [ field [ 0 ] ] if val is None : record . append ( "" ) else : record . append ( val ) else : record = [ "" for field in self . fields if field [ 0 ] != 'DeletionFlag' ] self . __dbfRecord ( record )
short_docstring: Creates a dbf attribute record.
short_docstring_tokens: Creates a dbf attribute record .
comment: """Creates a dbf attribute record. You can submit either a sequence of
          field values or keyword arguments of field names and values. Before
          adding records you must add fields for the record values using the
          field() method. If the record values exceed the number of fields the
          extra ones won't be added. In the case of using keyword arguments to specify
          field/value pairs only fields matching the already registered fields
          will be added."""$SEP$# Balance if already not balanced
  $SEP$# ignore deletionflag field in case it was specified
  $SEP$# Blank fields for empty record
  