MCPcopy Index your code
hub / github.com/RustPython/RustPython / __setitem__

Method __setitem__

Lib/os.py:712–716  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

710 return self.decodevalue(value)
711
712 def __setitem__(self, key, value):
713 key = self.encodekey(key)
714 value = self.encodevalue(value)
715 putenv(key, value)
716 self._data[key] = value
717
718 def __delitem__(self, key):
719 encodedkey = self.encodekey(key)

Callers

nothing calls this directly

Calls 1

putenvFunction · 0.85

Tested by

no test coverage detected