def get_all_for(self, key):
        """ Returns all values of the given key """
        if not isinstance(key, _string_type):
            raise TypeError("Key needs to be a string.")
        return [self[(idx, key)] for idx in _range(self.__kcount[key])]
def get_all_for ( self , key ) : if not isinstance ( key , _string_type ) : raise TypeError ( "Key needs to be a string." ) return [ self [ ( idx , key ) ] for idx in _range ( self . __kcount [ key ] ) ]
Returns all values of the given key