def _convert_listlike_indexer(self, keyarr, kind=None):
indexer, keyarr = super()._convert_listlike_indexer(keyarr, kind=kind)<EOL>if indexer is None and len(keyarr) and not isinstance(keyarr[<NUM_LIT:0>],<EOL>tuple):<EOL><INDENT>level = <NUM_LIT:0><EOL>_, indexer = self.reindex(keyarr, level=level)<EOL>if indexer is None:<EOL><INDENT>indexer = np.arange(len(self))<EOL><DEDENT>check = self.levels[<NUM_LIT:0>].get_indexer(keyarr)<EOL>mask = check == -<NUM_LIT:1><EOL>if mask.any():<EOL><INDENT>raise KeyError('<STR_LIT>' % keyarr[mask])<EOL><DEDENT><DEDENT>return indexer, keyarr<EOL>
Parameters
----------
keyarr : list-like
    Indexer to convert.

Returns
-------
tuple (indexer, keyarr)
    indexer is an ndarray or None if cannot convert
    keyarr are tuple-safe keys