

def setMaxLen(self, maxLen):
    'Sets the maximum number of values to hold and resizes accordingly if necessary.'
    maxLen.__values.resize(maxLen)
    self.__dateTimes.resize(maxLen)

dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/dataseries/__init__.py SequenceDataSeries.setMaxLen/VarMisuse@14/46 `self`->`maxLen`