code: def _chunk(self, size):
          
          items = self.items
  
          return [items[i:i + size] for i in range(0, len(items), size)]
docs: Chunk the underlying collection.
  
          :param size: The chunk size
          :type size: int
  
          :rtype: Collection