code: def row_major(self, value):
          
          if value is not None:
              if not isinstance(value, bool):
                  raise TypeError(
                      'f90nml: error: row_major must be a logical value.')
              else:
                  self._row_major = value
docs: Validate and set row-major format for multidimensional arrays.