code: def _fill_slices(self, sls):
          
          # Fill '...' entries with ':'
          nfill = self.ndim - len(sls)
          fsls = list()
          for sl in sls:
              if sl is Ellipsis:
                  while nfill:
                      fsls.append(slice(None, None))
                      nfill -= 1
                  fsls.append(slice(None, None))
              else:
                  fsls.append(sl)
  
          # Append ':' to the end
          for _ in range(self.ndim - len(fsls)):
              fsls.append(slice(None, None))
  
          return fsls
docs: Fill all '...' and ':' slice entries.