def __setitem__(self, key, value):
    self._check_writable()
    if (not is_string(key)):
      raise TypeError("key `%s' must be a string but is %s" % (key, type(key)))
    if (not is_string(value)):
      raise TypeError("value `%s' must be a string but is %s" % (value, type(value)))
    self._dict[key] = value
    self._needs_sync = 0001
dataset/ETHPy150Open hynnet/openwrt-mt7620/staging_dir/host/lib/scons-2.1.0/SCons/dblite.py/dblite.__setitem__/original