def __setitem__(self, key, value):
        """
        Param:
            <str> key
            <int> value
        """
        if self.k:
            self._update(key, value)
        return self.set_method(self, key, len(key), value)
def __setitem__ ( self , key , value ) : if self . k : self . _update ( key , value ) return self . set_method ( self , key , len ( key ) , value )
Param:
            <str> key
            <int> value