(self, key, default=None)
return -1, key, default
Returns the index, key, and value of a slot found in the dict.
        Returns -1, key, and default (None if not set) when not found.
Returns the index, key, and value of a slot found in the dict.
        Returns -1, key, and default (None if not set) when not found.
Returns the index key and value of a slot found in the dict . Returns - 1 key and default ( None if not set ) when not found .
def get_slot(self, key, default=None):
        """
        Returns the index, key, and value of a slot found in the dict.
        Returns -1, key, and default (None if not set) when not found.
        """
        slot = self.hash_key(key)

        if key == self.dict[slot][0]:
            return slot, self.dict[slot][0], self.dict[slot][1]

        return -1, key, default
def get_slot ( self , key , default = None ) : slot = self . hash_key ( key ) if key == self . dict [ slot ] [ 0 ] : return slot , self . dict [ slot ] [ 0 ] , self . dict [ slot ] [ 1 ] return - 1 , key , default