def __init__(self, package, data=None, dtype=None, model=None, list_free_format=None, binary=False):
    if isinstance(data, MfList):
        for attr in data.__dict__.items():
            setattr(self, attr[0], attr[1])
        if (model is None):
            self._model = package.parent
        else:
            self._model = model
        self._package = package
        return
    self._package = package
    if (model is None):
        self._model = package.parent
    else:
        self._model = model
    if (dtype is None):
        assert isinstance(self.package.dtype, np.dtype)
        self.__dtype = self.package.dtype
    else:
        self.__dtype = dtype
    self.__binary = binary
    self.__vtype = {}
    self.__data = {}
    if (data is not None):
        self.__cast_data(data)
    self.__df = None
    if (list_free_format is None):
        if (package.parent.version == 'mf2k'):
            list_free_format = False
    self.list_free_format = list_free_format
    return
def __init__(self, package, data=None, dtype=None, model=None, list_free_format=None, binary=False):
    if isinstance(data, MfList):
        for attr in data.__dict__.items():
            setattr(self, attr[0], attr[1])
        if (model is None):
            self._model = package.parent
        else:
            self._model = model
        self._package = package
        return
    self._package = package
    if (model is None):
        self._model = package.parent
    else:
        self._model = model
    if (dtype is None):
        assert isinstance(self.package.dtype, np.dtype)
        self.__dtype = self.package.dtype
    else:
        self.__dtype = dtype
    self.__binary = binary
    self.__vtype = {}
    self.__data = {}
    if (data is not None):
        self.__cast_data(data)
    self.__df = None
    if (list_free_format is None):
        if (package.parent.version == 'mf2k'):
            list_free_format = False
    self.list_free_format = list_free_format
    return