#NEWLINE# def _item_key_to_tuple( self , key ) : #NEWLINE# #INDENT# if utils . is_dict_like ( key ) : #NEWLINE# #INDENT# return tuple ( ( key . get ( dim , slice ( None ) ) for dim in key . dims ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return key