def appendWithDateTime(self, dateTime, value):

        if dateTime is not None and len(self.__dateTimes) != 0 and self.__dateTimes[-1] >= dateTime:
            raise Exception("Invalid datetime. It must be bigger than that last one")

        assert(len(self.__values) == len(self.__dateTimes))
        self.__dateTimes.append(dateTime)
        self.__values.append(value)

        self.getNewValueEvent().emit(self, dateTime, value)
Checks if the given value is a list.
dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/dataseries/__init__.py/SequenceDataSeries.appendWithDateTime--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/ht.py/TList