code: def append(self, value):
      if self.__nextPos < self.__maxLen:
          self.__values[self.__nextPos] = value
          self.__nextPos += 1
      else:
          # Shift items to the left and put the last value.
          # I'm not using np.roll to avoid creating a new array.
          self.__values[0:-1] = self.__values[1:]
          self.__values[self.__nextPos - 1] = value
  
imports: import numpy
label_desc: Use image node_id 3 for calling the NumPyDeque obj's underlying member method code with example usage: obj.append(value) without return types